Domanda

In our composite project someone depends on asm-4 and asm-3 transitively.

I would like to know who bring these transitive dependencies to the project.

Is there any way to draw a graph of dependencies or somehow find who depends on asm-3/asm-4

Note: asm dependency is a buildSrc/buildScript dependency, not the build's process itself.

È stato utile?

Soluzione

cd into buildSrc, then run gradle dependencyInsight --configuration runtime --dependency asm.

Altri suggerimenti

Type gradle dependencies to see the whole graph. It's also possible to exclude dependencies. Search for Excluding transitive dependencies.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top