I have a list of >50 dependecies where I would like to disable transitive dependency resolution for all of them, but not for all others. Is there a way to that without specifying transitive=false 50 times?
I could easily identify them e.g. by name in a condition.
Yes I tried that, but than nonTransitive is not in the implementation scope (not in my tests classpath). Is there an easy way to add nonTransitive to all implementation classpaths etc?
Still that way it also does not seem to work a:b:1.0 still seems to be resolved transitively.
I guess now the dependendencies from apiNonTrans end up in api where they are then resolved transitively?