title: Why gradle doesn't search for dependency in other maven repos?
body: <p>Why does gradle not searching for dependency in ALL defined maven repos?</p>
  
  <p>Repos block is defined:</p>
  
  <pre><code>repositories {
      maven {
          name = 'JBoss.org Maven repository'
          url 'https://repository.jboss.org/nexus/content/groups/public'
      }
      maven {
          name = 'spring-milestones'
          url 'http://repo.springsource.org/libs-milestone/'
      }
      mavenCentral()
  }
  </code></pre>
  
  <p>(Assuming I got somewhere in the subproject <code>net.sf.json-lib:json-lib:2.2.1</code>) I receive:</p>
  
  <pre><code>* What went wrong:
  Could not resolve all dependencies for configuration ':myproject:compileClasspath'.
  &gt; Could not find json-lib.jar (net.sf.json-lib:json-lib:2.2.1).
    Searched in the following locations:
        http://repo.springsource.org/libs-milestone/net/sf/json-lib/json-lib/2.2.1/json-lib-2.2.1.jar
  </code></pre>
  
  <p>Why the only one search-location? The <code>json-lib</code> clearly exists in <code>mavenCentral()</code>.</p>
  
  <p>Is there any way to profile that, or debug somehow?</p>
  
  <p>P.S. I could fix that if I move <code>mavenCentral()</code> up one position in the list of repos, but that will break another subproject dependency-resolution by the very same reason -- something from "spring" repo does not exist in <code>mavenCentral()</code>.</p>