My Android app has a number of flavors: Production, Staging, Review, etc. as well as Release and Debug build types. When I run ./gradlew app:dependencies
it naturally returns a dependency tree with each flavor/build type:
- productionRelease
- productionDebug
- stagingRelease
- stagingDebug
- etc.
This results in a dependency tree with over 32000 lines, making it a bit difficult to evaluate. What I'm looking for is a dependency command where I can specify the flavor and build type to avoid having a monstrous dependency tree report, something like:
./gradlew app:stagingDebugDependencies
Any help, tips and or hints are greatly appreciated.