title: Add dependency of a locally built library?
body: <p>I could use a little help better understanding the options I have with regards to adding a dependency on an Android library that has been published locally. </p>
  
  <p>In my situation, I have two different projects located in two different directories:</p>
  
  <pre><code>Project of Library: ~/Documents/src/&lt;my library&gt;
  Project that will consume library: ~/Documents/src/&lt;client app&gt;
  </code></pre>
  
  <p>I followed the instructions provided here in order to publish the android library locally:</p>
  
  <p><a href="http://blog.maxaller.name/android/2016/11/25/developing-a-local-android-plugin.html" rel="nofollow noreferrer">http://blog.maxaller.name/android/2016/11/25/developing-a-local-android-plugin.html</a></p>
  
  <p>I'm going to assume that the output library generated ended up here:</p>
  
  <pre><code>~/Documents/src/&lt;my library&gt;/library/build/outputs/aar/*.aar
  </code></pre>
  
  <p>It'd be nice if I can point directly to this library.</p>
  
  <p>What options do I have in order to update the build.gradle file of the client app such that there is a dependency on that library? </p>
  
  <p>Below is the key pieces of the build.gradle file, as it currently stands:</p>
  
  <pre><code>    buildscript {
          repositories {
              mavenCentral()
              mavenLocal()
              jcenter()
          }
  ...
  
  dependencies {
  ... 
     ???implementation &lt;my group ID&gt;:&lt;my artifact ID&gt;:&lt;version #&gt;??
  
     OR
  
      implementation project(path: '&lt;What am I doing?&gt;')
  ...
  }
  </code></pre>
  
  <p>I must troubleshoot a few things before publishing the library online.</p>
  
  <p>Thanks for the clarification in advance!</p>