I’m working with gradle and although I’ve been using exclude with success to remove transitive dependencies I don’t want, I can’t seem to work out how to solve the following.
Let’s assume I have the following dependencies:
org.library:useful:2.0.0 ±-org.library:logging:1.5 ±-org.another-library:tools:1.9
As you can see I have a version conflict between logging 1.5 and logging 1.4. In my configuration I know that I can use exclude do the following:
exclude(group: ‘org.library’, module: ‘logging’) }
But how do I say “exclude logging 1.4” that doesn’t come from anything I depend on (in this example it comes from org.another-library:tools:1.9)?