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

Support configuration cache fully & Gradle 9 compatibility #672

Open
2 of 3 tasks
Vampire opened this issue Feb 9, 2023 · 1 comment
Open
2 of 3 tasks

Support configuration cache fully & Gradle 9 compatibility #672

Vampire opened this issue Feb 9, 2023 · 1 comment
Assignees

Comments

@Vampire
Copy link
Contributor

Vampire commented Feb 9, 2023

⚠️ Is your feature request related to a problem? Please describe

The plugin is not compatible with Gradle 9.
For example it accesses Task#project at execution time, which was deprecated and will fail with Gradle 9.

Maybe in the course of fixing this, supporting the configuration cache could also be reconsidered as it is one of the issues which makes the tasks incompatible right now.
The argument "isn't worth caching as it changes the versions file and thus invalidates the cache" is only true if it actually changes the file. If you use it to check for updates and no updates are available, the CC could be reused. :-)
And finally, since Gradle 8.1 the CC was promoted to stable.

💡 Describe the solution you'd like

Plugin compatible with Gradle 9 and optimally configuration cache

🤚 Do you want to develop this feature yourself?

  • Yes
  • No
@Vampire Vampire changed the title Gradle 8 compatibility Gradle 9 compatibility Feb 14, 2023
@LouisCAD LouisCAD self-assigned this Aug 8, 2023
@LouisCAD LouisCAD pinned this issue Aug 11, 2023
@LouisCAD LouisCAD changed the title Gradle 9 compatibility Support configuration cache fully & Gradle 9 compatibility Aug 11, 2023
@LouisCAD
Copy link
Member

Configuration cache support was fully implemented for the refreshVersions task.
It's in the latest snapshot and will make it into a release next week.

Besides other tasks that are not supporting configuration cache yet, please let me know if you spot any other Gradle 9 compatibility issues.

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

No branches or pull requests

2 participants