Saturday, June 6, 2015

Show all sub-projects' dependencies in Gradle

In Gradle, to show all sub-projects' dependencies,

add the following to `build.gradle`.

subprojects {
    task allDependencies(type: DependencyReportTask) {}
}

Now you can use the following command:

gradle allDependencies

Reference:
https://solidsoft.wordpress.com/2014/11/13/gradle-tricks-display-dependencies-for-all-subprojects-in-multi-project-build/

No comments:

Post a Comment