Using gradle to find dependency tree

后端 未结 14 1717
-上瘾入骨i
-上瘾入骨i 2020-11-22 03:20

Is it possible to use gradle to produce a tree of what depends on what?

I have a project and would like to find out all the dependencies so I may be able to prune it

14条回答
  •  抹茶落季
    2020-11-22 03:21

    Note that you may need to do something like ./gradlew ::dependencies if the module has extra directory before reach its build.gradle. When in doubt, do ./gradlew tasks --all to check the name.

提交回复
热议问题