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

Gradle Plugin: Support isolated projects #1752

Open
hfhbd opened this issue Feb 26, 2024 · 1 comment · Fixed by #2034 or #2035
Open

Gradle Plugin: Support isolated projects #1752

hfhbd opened this issue Feb 26, 2024 · 1 comment · Fixed by #2034 or #2035

Comments

@hfhbd
Copy link

hfhbd commented Feb 26, 2024

  • Replace findProperty with providers.gradleProperty
  • Ideally, KGP adds more provider (and DomainCollection) APIs instead Observable/Lazy, ConfigurationAwareProvider...
ansman added a commit to ansman/ksp that referenced this issue Aug 18, 2024
`findProperty` is not compatible with project isolation. The new
`providers.gradleProperty` is however.

This partially fixes google#1752
ansman added a commit to ansman/ksp that referenced this issue Aug 18, 2024
`findProperty` is not compatible with project isolation. The new
`providers.gradleProperty` is however.

This partially fixes google#1752
github-actions bot pushed a commit that referenced this issue Aug 21, 2024
`findProperty` is not compatible with project isolation. The new
`providers.gradleProperty` is however.

This partially fixes #1752

(cherry picked from commit 335a502)
@hfhbd
Copy link
Author

hfhbd commented Aug 23, 2024

Can you please reopen this issue? I still get two issues when using 2.0.20-1.0.25-SNAPSHOT:

Basically, you can't fetch the tasks list from the dependencies: org.gradle.api.InvalidUserCodeException: Project ':foo' cannot access task dependencies directly if you use a multi module setup :foo that depends on :bar using implementation given a Kotlin/JVM project.

@ting-yuan ting-yuan reopened this Sep 5, 2024
github-actions bot pushed a commit that referenced this issue Sep 5, 2024
`findProperty` is not compatible with project isolation. The new
`providers.gradleProperty` is however.

This partially fixes #1752

(cherry picked from commit 335a502)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants