title: Gradle 3 implementation for aar dependency
body: <p>I have an <code>Android</code> project which has couple of libraries as <code>aar</code> dependency. The libraries and the application has the same flavors (<em>internal</em> and <em>external</em>).
  The libraries gets generated as <em>LibraryName-internal-release.aar</em> and <em>LibraryName-internal-debug.aar</em>, <em>LibraryName-external-release.aar</em> and <em>LibraryName-external-debug.aar</em>. </p>
  
  <p>In the previous versions of gradle I add the aar file as dependency to the project as follows </p>
  
  <pre><code>internalDebugCompile(name: 'LibraryName-internal-debug', ext: 'aar')
  internalReleaseCompile(name: 'LibraryName-internal-release', ext: 'aar')
  externalDebugCompile(name: 'LibraryName-external-debug', ext: 'aar')
  externalReleaseCompile(name: 'LibraryName-external-release', ext: 'aar')
  </code></pre>
  
  <p>How to use the latest <code>implementation</code> tag in dependency. I tried using <code>implementation(':LibraryName@aar')</code> in gradle 3.0 but it fails to find the correct matching dependency. How to use the <code>implementation</code> tag correclty in this situation ?</p>