If you also want to filter modulo you can use the following command:
gradlew -p <module-name> dependencies --configuration <configuration-name>
For example, if you want to display all the dependency graphs, use:
gradlew dependencies
For example, if you want to display all the dependency graphs for the lib module, use:
gradlew -p lib dependencies
If you want to infer compilation dependencies for a debug option:
gradlew dependencies --configuration debugCompileClasspath
If you want to output runtime dependencies for the debug option:
gradlew dependencies --configuration debugRuntimeClasspath
If you want to derive runtime dependencies for the debug option and the production variant in the lib module:
gradlew -p lib dependencies --configuration productionDebugRuntimeClasspath
Theit source share