Skip to content

Migration guide #107

Open
Open
@boris-petrov

Description

@boris-petrov

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:

  1. 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?

  1. Replace my loggingCapabilities configuration with jvmDependencyConflicts.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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions