Description
Important
(edit by @jjohannes) As we never got around to write a migration guide from one of the predecessor plugins, this issue serves as the guide. If you migrate from one of the following plugins to this one and have questions, please ask in this issue.
Congratulations on releasing version 2 of this awesome plugin! And thanks for the hard work on it!
But it would be nice to have a migration path from 1.5.3 to 2.0. Here's what I did:
- Replace:
id 'org.gradlex.java-ecosystem-capabilities' version '1.5.3'
id 'dev.jacomet.logging-capabilities' version '0.11.1'
With:
id 'org.gradlex.jvm-dependency-conflict-resolution' version '2.0'
I guess I don't need to also specify the detection
plugin as the resolution
one depends on it?
- Replace my
loggingCapabilities
configuration withjvmDependencyConflicts.logging
(based on this).
Run my build. I was hoping that to immediately work but it didn't. :D I got a few Could not resolve net.bytebuddy:byte-buddy:1.14.13.
... Cannot find a version of 'net.bytebuddy:byte-buddy' that satisfies the version constraints:
. I'm not really sure why. I see that some transitive dependencies require different versions of byte-buddy
- but isn't Gradle supposed to just take the latest version and call it a day? What has changed in the plugin? What must I do?
Thanks!