Skip to content

Conversation

@ansman
Copy link
Contributor

@ansman ansman commented Aug 18, 2024

findProperty is not compatible with project isolation. The new providers.gradleProperty is however.

This partially fixes #1752

`findProperty` is not compatible with project isolation. The new
`providers.gradleProperty` is however.

This partially fixes google#1752
@ansman ansman force-pushed the fix/project-isolation branch from 22b5b8b to d3de64c Compare August 18, 2024 15:16
@ting-yuan ting-yuan merged commit f85a75d into google:main Aug 21, 2024
@ZacSweers
Copy link
Contributor

I'd like to request that this be either reverted or expose another way to enable/disable KSP2 per-project or per-task. With this change, it can only be enabled/disabled globally because ProviderFactory.gradleProperty() only reads the root project's gradle properties.

ansman added a commit to ansman/ksp that referenced this pull request Sep 6, 2024
With the change in google#2034 a side effect was that KSP2 had to be enabled
per Gradle project, not per module.

With this change a DSL property has been added to handle this.
@ansman ansman deleted the fix/project-isolation branch September 6, 2024 20:32
@ansman
Copy link
Contributor Author

ansman commented Sep 6, 2024

@ZacSweers Fix in #2089

ansman added a commit to ansman/ksp that referenced this pull request Sep 6, 2024
With the change in google#2034 a side effect was that KSP2 had to be enabled
per Gradle project, not per module.

With this change a DSL property has been added to handle this.
ansman added a commit to ansman/ksp that referenced this pull request Sep 26, 2024
With the change in google#2034 a side effect was that KSP2 had to be enabled
per Gradle project, not per module.

With this change a DSL property has been added to handle this.
ansman added a commit to ansman/ksp that referenced this pull request Sep 26, 2024
With the change in google#2034 a side effect was that KSP2 had to be enabled
per Gradle project, not per module.

With this change a DSL property has been added to handle this.
ting-yuan pushed a commit that referenced this pull request Sep 27, 2024
With the change in #2034 a side effect was that KSP2 had to be enabled
per Gradle project, not per module.

With this change a DSL property has been added to handle this.
github-actions bot pushed a commit that referenced this pull request Sep 27, 2024
With the change in #2034 a side effect was that KSP2 had to be enabled
per Gradle project, not per module.

With this change a DSL property has been added to handle this.

(cherry picked from commit 78e999b)
Copy link

@Monday1908 Monday1908 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API29

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gradle Plugin: Support isolated projects

4 participants