title: Gradle dependencies: compile project by relative path
body: <p>is it possible to specify a dependency in Gradle (in android studio) to another gradle project outside of the current project boundaries? For example with a relative path something like this:</p>
  
  <pre><code>dependencies {
    compile project('../../stdlib/dagger')
  }
  </code></pre>
  
  <p>So what I trie is something like this:</p>
  
  <p>I have an Android Application. The structure looks like this:</p>
  
  <ul>
  <li>MyApp (path is  /Users/foo/workspace/MyApp)
  <ul>
  <li>app (path is /Users/foo/workspace/MyApp/app)</li>
  </ul></li>
  </ul>
  
  <p>And I have a gradle android library project containing 3 submodules:</p>
  
  <ul>
  <li>stdlib (path is /Users/foo/workspace/stdlib)
  <ul>
  <li>dagger (path is /Users/foo/workspace/stdlib/dagger)</li>
  <li>utils (path is /Users/foo/workspace/stdlib/utils)</li>
  <li>http (path is /Users/foo/workspace/stdlib/http)</li>
  </ul></li>
  </ul>
  
  <p>What I want is to compile the dagger, utils, http  module into MyApp project.</p>
  
  <p>The stdlib libraries modules are under heavy development and will grow as MyApp grow. Hence I do not want to push them into a maven repository everytime I make a little change.</p>
  
  <p>So is there a possibility to link other gradle projects somehow? 
  Im looking for a temporarly solution. I will push the std library into maven repository once the source is stable.</p>
  
  <p>Also, as workaround, a solution with sourceSet would be possible. I have also considered to make a libraries folder in MyApp who is a symlink to stdlib, but I didnt get it to work as expected:</p>
  
  <ul>
  <li>MyApp (path is  /Users/foo/workspace/MyApp)
  <ul>
  <li>app (path is /Users/foo/workspace/MyApp/app)</li>
  <li>libraries (symlink to /Users/foo/workspace/stdlib)</li>
  </ul></li>
  </ul>
  
  <blockquote>
  <pre><code> dependencies {
        compile project(':libraries:dagger')
      }
  </code></pre>
  </blockquote>
  
  <p>Any idea how to solve such a dependency in gradle?</p>