-
Notifications
You must be signed in to change notification settings - Fork 41.1k
buildInfo does not work with Gradle 8.7 or later when the configuration cache is enabled #40911
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
Comments
Seeing the same problem with Boot 3.2.6 and 3.3.0. Earlier versions do not have this issue. Removing the EDIT: Boot 3.2.5 comes with Spring Framework 6.1.6 where |
I think it should be handled at Gradle side. |
I just tested that as a workaround, you can add this line to your gradle.properties:
|
After upgrading to Boot 3.3.0 I noticed that the Gradle configuration cache throws an error. This is related to the configuration of the Boot plugin's buildInfo. With this config:
I'm getting this error when running Gradle with the config cache enabled:
Here's a project that reproduces the problem: just run a regular build to see the error.
gradle-config-cache.zip
This problem did not occur with Boot 3.2.x versions.
The text was updated successfully, but these errors were encountered: