title: Gradle repository
body: <p>Sorry, I'm either stupid, or Gradle repository management is really not there where it should be. I have an Eclipse (Mars) workspace with a mix of Maven and Gradle projects. Naturally, before committing anything on our VCS, I want to test locally. This means I <em>mvn clean install</em> an Artifact in order to have it in my local Maven repository. Obviously, part of the needed Artifact required by Gradle project are also on remote repository.</p>
  
  <p>My Gradle repo are configured like this:</p>
  
  <pre><code>repositories {
  mavenLocal()
  maven { url "http://myrepo.mycompany.com/nexus/content/groups/public/" }
  maven { url 
   "http://myrepo.mycompany.com/nexus/content/repositories/releases/" }
  maven { url 
   "http://myrepo.mycompany.com/nexus/content/repositories/snapshots/" }
  maven { url "http://myrepo.mycompany.com/nexus/content/groups/public-
  snapshots/" }   
  }
  </code></pre>
  
  <p>Why Gradle goes fetch a resource until the last repo? I mean, I updated an Arifact, installed it locally ... obviously the Artifact which is on a remote repo is not yet the latest version ... why does Gradle go and fetch it?</p>