Gradle: Print dependency graph for Android

03:08:00 0 Comments A + a -

While using gradle build in Android Studio or IntelliJ you might face the duplicate dependency issues when you have multiple libraries using the same dependencies and each might have different versions added within them. So, it becomes important to print and take a look at what dependencies each library has and exclude them.

So, to print the dependency graph for all dependencies of the app module.

Go to terminal and type in the root folder.

gradle :app:dependencies

or

gradle app:dependencies








Android Developer, Tech Enthusiast, Startup Aficionado, Seeker of Happiness.