Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type-safe project accessors are not regenerated when new projects are added to the build #29665

Open
alllex opened this issue Jun 24, 2024 · 0 comments

Comments

@alllex
Copy link
Member

alllex commented Jun 24, 2024

There is no minimal reproducer for this, but it has been observed in the gradle/gradle build at the very least.
However, this is a general project accessor bug.

A compilation error in a Kotlin build script hints that the accessor is not there:

Script compilation error:

  Line 30:     api(projects.serviceLookup)
                            ^ Unresolved reference: serviceLookup

However, the given project was already added in settings, and script compilation was trying to run against the stale version of accessors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant