title: How to get insight of a dependency for the "implementation" configuration?
body: <p>Based on documentation (<a href="https://docs.gradle.org/current/userguide/tutorial_gradle_command_line.html#sec:dependency_insight" rel="noreferrer">4.7.6 - Getting the insight into a particular dependency</a>) we can get the insights for a particular configuration specifying the configuration itself.
  In the example they are using as configuration <code>compile</code>, which is deprecated.
  I tried to reproduce the same command replacing, in <code>build.gradle</code>, the <code>compile</code> configuration with the <code>implementation</code> configuration (as I got we are not supposed to use <code>compile</code> anymore).
  But when I run:</p>
  
  <pre><code>gradle dependencyInsight --dependency groovy --configuration implementation
  </code></pre>
  
  <p>Gradle is returning:</p>
  
  <pre><code>Execution failed for task ':dependencyInsight'.
  Resolving configuration 'implementation' directly is not allowed
  </code></pre>
  
  <p>My <code>build.gradle</code> file is the following:</p>
  
  <pre><code>apply plugin: 'java-library'
  
  repositories {
      jcenter()
  }
  
  dependencies{
      implementation 'org.codehaus.groovy:groovy-all:2.4.10'
  }
  </code></pre>
  
  <p>Does it mean I cannot get the insight of a dependency if I'm using <code>implementation</code> or is there another way to get it?</p>