cd into buildSrc
, then run gradle dependencyInsight --configuration runtime --dependency asm
.
How to find who depends on specific artifact in gradle?
-
29-06-2023 - |
Вопрос
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.
Решение
Другие советы
Type gradle dependencies
to see the whole graph. It's also possible to exclude dependencies. Search for Excluding transitive dependencies.
Не связан с StackOverflow