Version 1.170.1 of the git-changelog-lib causes an error with Gradle <7.6
anne-k opened this issue · 0 comments
This isn't necessarily something to fix because it's caused by a bug in Gradle which has already been fixed in the latest versions. But it's good to be aware of I think and have it documented somewhere, in case anyone else runs into this.
In short, Gradle <7.6 fails on the jackson-core 2.15.x dependency with this error:
Failed to create Jar file <path-to-gradle-cache>/jackson-core-2.15.2.jar.
The cause is this: gradle/gradle#24390
It's been fixed in Gradle 7.6 but the fix won't be backported because the problem only exists for plugins, not regular dependencies so the impact is considered low: gradle/gradle#24390 (comment)
We ran into this with plugin version 1.75.0 because it dynamically uses the latest 1.x version of the git-changelog-lib library, which means our builds suddenly started failing on July 10 when 1.170.1 was released. Upgrading to 1.79.0 fixes it, because that explicitly uses 1.169.0 of the library, but it will come back in future versions of the plugin of course unless we also upgrade Gradle.