Make an option to not explore transitive dependencies


(Stanislav Kurilin) #1

I would like to be able to declare in witch configuration each dependency should go as a transitive dependency.

So that. Lets assume we have modules A, B, C. With compile dependencies A -> B -> C. Now, A will compile depend on C.

I would like to specify in B

compile C, whenTransitive:runtime

or even

compile C, internal: true

After it, A should runtime depend on C.