Many of our internal libraries using dependency with classifier, something like
’com.x:artifact:1.0.0:classifier’ and now we get rid of the classifier in the new version.
But now i need to force gradle to ignore all the transitive dependencies and add just
I’m able to remove the dependency globally by
all*.exclude group: “com.x”, module: “artifact”
But then I can’t add it back. So I need to remove just transition, not direct dependencies.
I tried resolutionStrategy with force and it also doesn’t work.