Closed Bwvolleyball closed 4 years ago
You picked up a major release. See https://github.com/nebula-plugins/gradle-info-plugin/releases/tag/v8.0.0
In our build, we were specifying an old version, which I guess was being ignored - is there some other mechanism that would have bumped us immediately to the latest version?
A long time ago now Gradle broke plugin publishing in a way that meant that it was publishing the requested dynamic constraints for a plugin, rather than the exact version. If you were using one of the affected plugin versions and it bundles info it could have upgraded you.
You can use the buildEnvironment
task to check.
A long time ago now Gradle broke plugin publishing in a way that meant that it was publishing the requested dynamic constraints for a plugin, rather than the exact version. If you were using one of the affected plugin versions and it bundles info it could have upgraded you.
😱
Thanks for the quick responses, and this explanation. I was very confused how that could have affected us without some magic bumping us to the latest version, I guess this'll be a fun root cause to solve, but thanks for the insight!
We recently started seeing this error in our builds:
Gradle version 5.6.4.
I'm not sure if this line is the root cause, but it seems to be new? https://github.com/nebula-plugins/gradle-info-plugin/blob/master/src/main/groovy/nebula/plugin/info/basic/BasicInfoPlugin.groovy#L76