-
Notifications
You must be signed in to change notification settings - Fork 458
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
Conflicts on JGit transitive dependency version #643
Comments
Thanks for sharing. I'm surprised that Gradle can't handle buildscript {
configurations.classpath {
resolutionStrategy {
force 'org.eclipse.jgit:org.eclipse.jgit:5.7.0.202003110725-r'
}
}
} |
It does indeed work as a workaround. |
I'm gonna close as dupe of #587, since that is likely the only long-term fix for this recurrent issue. Happy to revisit if new info emerges. |
I was trying to add spotless 5.0.0 to a project but it gave me an error, and I tried other versions and I saw that it failed for versions 4.5.0 and newer.
Software version:
It fails when I add the plugin to the
plugins
block.In version 4.5.0 the JGit dependency was updated from 5.7 to 5.8 (commit link) while axion is still using version 5.7.
I also saw that there is an Issue #587 that seems to touch on this subject.
This issue has also been reported on the axion repo (issue link).
Result of
gradlew spotlessCheck --stacktrace
:The text was updated successfully, but these errors were encountered: