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 configuration cache support #145

Open
trevjonez opened this issue Sep 19, 2024 · 0 comments · May be fixed by #146
Open

Gradle configuration cache support #145

trevjonez opened this issue Sep 19, 2024 · 0 comments · May be fixed by #146

Comments

@trevjonez
Copy link

Plugin currently has some issues in the implementation preventing safe usage of the gradle configuration cache.

image https://docs.gradle.org/8.10.1/userguide/configuration_cache.html

Skimming the plugin source it seems we would need to lift all of the usages of project from the task action to instead use task input properties so that gradle can correctly trace everything as an input correctly for the cache.

This should be a fairly straight forward fix. Looks like you already have some gradle test kit tests setup so reproduction will be fairly trivial by adjusting the build invocation to include configuration cache.

@trevjonez trevjonez linked a pull request Sep 19, 2024 that will close this issue
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 a pull request may close this issue.

1 participant