Reputation: 1024
I know how to view all the dependencies in my Android Studio project but it doesn't show which libraries require which ones. They are just all grouped together. Is there a way to see which libraries are required by each specific dependencies I declare in my build.gradle file ?
Upvotes: 4
Views: 4868
Reputation: 8483
Let's suppose you want to get dependencies graph of your app module. In your terminal/command line, run the below command:
./gradlew :app:dependencies
Moreover, if you want to store the dependency graph generated by above command, just do:
./gradlew :app:dependencies > dependencies.txt
Please note that the dependencies.txt file will be generated and stored in your current working directory.
Upvotes: 9