title: Configuration with name 'testRuntimeClasspath' not found
body: <p>I am designing a plugin to return all the dependencies of the project</p>
  
  <p>I tried to get dependencies from project.getConfigurations() but it is always returning the error "Configuration with name 'testRuntimeClasspath' not found". Is there any way we can apply the plugin at the Execution Phase of the build.</p>
  
  <p>public void apply(Project project) {</p>
  
  <pre><code>   project.getConfigurations()                                  
     .getByName("testRuntimeClasspath")
     .getAllDependencies();
  </code></pre>
  
  <p>}</p>