title: How can I make gradle overwrite the library in my local maven repo?
body: <p>I have three android projects under current development - let's call them Alpha, Bravo, and Charlie. Bravo and Charlie both depend on Alpha, an android library. When I create Alpha, I deploy it to my local maven repository using <code>./gradlew install</code>, which works fine if I use the following in my <code>build.gradle</code> files for Bravo and Charlie:</p>
  
  <pre><code>dependencies {
        compile 'com.blah.alpha:alpha:1.1.0+@aar'
  }
  </code></pre>
  
  <p>The catch, though, is that all three projects are under development. Thus, when I make an update to Alpha and deploy it to my local Maven repository, Bravo and Charlie don't seem to see the local version unless I do the following:</p>
  
  <pre><code>$ cd ~/.m2/repository/com/blah/alpha/
  $ rm -rf 1.1.0
  $ cd -
  $ ./gradlew install
  </code></pre>
  
  <p>That is, I manually need to go through and clean my local Maven repository before deploying to it. The version number isn't changing, so I'm wondering if that's the reason it's not getting the most recent build of the library.</p>