title: Setting resolution strategy for detached configurations
body: <p>Further to this question, <a href="https://stackoverflow.com/questions/19008006/accessing-configurations-resolutionstrategy-from-a-plugin">Accessing configurations ResolutionStrategy from a plugin</a></p>
  
  <p>I am now happily setting the resolution strategy for my projects and the build works fine. The resolution strategy will accept a version of default and map that to an actual version of the librarys, resolving it correctly.</p>
  
  <p>However, I am unable to generate idea or eclipse projects because the detached configurations are unable to resolve the default version.</p>
  
  <p>Is there a way to set the resolution strategy for detached configurations?</p>
  
  <p><strong>* EDIT *</strong></p>
  
  <p>The error I get when I run the build with the plugin applied is:</p>
  
  <pre><code>:ideaProject FAILED
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':ideaProject'.
  &gt; Could not resolve all dependencies for configuration 'detachedConfiguration4'.
     &gt; Module version group:xxx, module:mmm, version:trunk, configuration:detachedConfiguration4 declares a dependency on configuration 'default' which is not declared in the module descriptor for group:xxx, module:nnn, version:trunk
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  
  BUILD FAILED
  </code></pre>
  
  <p>I have assumed that because I am setting the resolutionStrategy with configurations.all and this is a detached configuration then the resolutionStrategy is not being applied to the detached configuration.</p>