Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I view all the dependencies of a library?

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 ?

like image 905
isJulian00 Avatar asked Nov 02 '25 02:11

isJulian00


1 Answers

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.

like image 99
Sneh Pandya Avatar answered Nov 03 '25 18:11

Sneh Pandya



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!