I am trying to use Gradle dependencyInsight
to find the test dependencies for an android project. I came across this answer which works well for the production code, https://stackoverflow.com/a/61530873/2231099 , however I can't find the configuration for test and androidTest dependencies. We have variants and flavour and this is how I can get the dependencies of debug app in base project,
gradle :base:dependencyInsight --dependency okhttp3 --configuration prodDebugCompileClasspath
I also checked java plugin test configuration setup but can't derive the android use case from this, https://docs.gradle.org/5.2.1/userguide/java_library_plugin.html?#sec:java_library_configurations_graph
I tried something like prodDebugTestCompileClasspath
to no avail,
gradle :base:dependencyInsight --dependency okhttp3 --configuration prodDebugTestCompileClasspath
Any suggestions for what the configuration look like for the test and androidTest?