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

Version 1.170.1 of the git-changelog-lib causes an error with Gradle <7.6 #46

Open
anne-k opened this issue Jul 18, 2023 · 0 comments
Open

Comments

@anne-k
Copy link

anne-k commented Jul 18, 2023

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.

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

1 participant