title: Android Studio: link to external module?
body: <p>I am using Android Studio 1.0.1, loving it so far. The only issue that I have is I would like to make my project depend on an external module. If I add a module to my project, the entire module source gets copied. This obviously jeopardise the very concept of library. </p>
  
  <p>Reading around, one of the recurring tips is to add to <code>settings.gradle</code> something like</p>
  
  <pre><code>include ':module1'
  project(':module1').projectDir = new File(settingsDir, '../Project B/Module 1')
  </code></pre>
  
  <p>and then, in <code>build.gradle</code></p>
  
  <pre><code>compile project(':module1')
  </code></pre>
  
  <p>Unfortunately, I can't get this to work on AS 1.0.1. Other questions such as <a href="https://stackoverflow.com/questions/16588389/android-libraries-in-android-studio">this one</a> collected slightly different approaches, but they all seem to be updated.</p>
  
  <p>Is there anything new under the sun for AS 1.0.1 ?</p>