Based on the documentation ( 4.7.6 - Having received an idea of ββa specific dependency ), we can get information about a specific configuration with an indication of the configuration itself. In this example, they are used as a compile configuration, which is deprecated. I tried to reproduce the same command, replacing the compile configuration in the build.gradle the implementation configuration (as I received, we should no longer use compile ). But when I run:
gradle dependencyInsight --dependency groovy --configuration implementation
Gradle returns:
Execution failed for task ':dependencyInsight'. Resolving configuration 'implementation' directly is not allowed
My build.gradle file is as follows:
apply plugin: 'java-library' repositories { jcenter() } dependencies{ implementation 'org.codehaus.groovy:groovy-all:2.4.10' }
Does this mean that I canβt get an idea of ββthe dependency if I use implementation or is there another way to get it?
source share