Dear Open Hub Users,
We’re excited to announce that we will be moving the Open Hub Forum to
https://community.blackduck.com/s/black-duck-open-hub.
Beginning immediately, users can head over,
register,
get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.
On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at
[email protected]
To override the version of a transitive dependency in Gradle, exclude it from the declared dependency that pulls it in, and then explicitly declare the version that you prefer to use in your build.gradle.
dependencies {
compile(my:declared:dependency
) {
exclude group: 'transitive.group.id', module: 'artifactId'
}
compile transitive.group.id:artifactId:your.preferred.version
}
To override the version of a transitive dependency in Maven, just explicitly declare the version of the component that you prefer to use in your pom.xml.
really?