title: Gradle shared library project
body: <p>I'm trying to migrate from Maven to Gradle (for our Android projects)... </p>
  
  <p>We have multiple apk projects and a single shared aar library project.  Each of the projects are independent, and have their own release, version numbers, and git repo. </p>
  
  <p>Here is our setup:</p>
  
  <p>A - Project1</p>
  
  <p>B - Project2</p>
  
  <p>C - Project3</p>
  
  <p>L - Common Library Project</p>
  
  <p>-</p>
  
  <p>A depends on L</p>
  
  <p>B depends on L</p>
  
  <p>C depends on L</p>
  
  <p>When developing with Maven, when building L, it would place the built artifact in the Maven local cache, then when building B it would use L from the local cache (with the latest developer changes to L).  It seems that Gradle does not use a shared local cache.</p>
  
  <p>How do I setup these projects in Gradle so that a developer can build B and L on a developer machine (so that changes the developer makes in L will show up in B)?  </p>
  
  <p>I also would like to be able to place the L project anywhere on the local machine (I would like to keep the projects as independent as possible).</p>