cd into buildSrc
, then run gradle dependencyInsight --configuration runtime --dependency asm
.
How to find who depends on specific artifact in gradle?
-
29-06-2023 - |
Pregunta
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.
Solución
Otros consejos
Type gradle dependencies
to see the whole graph. It's also possible to exclude dependencies. Search for Excluding transitive dependencies.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow