How to check dependency tree of a gradle project
19916
2 Answers
6 years ago by Divya
1. If you have gradle installed on your machine
on root project
gradle <project-name>:dependencies
on sub projects
gradle <project-name>:<sub-project-name>:dependencies
2. If you are packaging gradlew in your project
on root project
./gradle <project-name>:dependencies
on sub projects
./gradle <project-name>:<sub-project-name>:dependencies
Note: You can add the following flags to check the dependencies at runtime/ compile time
Checking compile time dependencies
--configuration compile
Checking runtime dependencies
--configuration runtime
6 years ago by Karthik Divi