title: Compile gradle subproject with another subproject as a dependency
body: <p>I have two projects:</p>
  
  <pre><code>workspace
   Project1
    |--build.gradle
    |--settings.gradle
    |--Subproject1
    |    |--build.gradle
    |--Subproject2
    |    |--build.gradle
  
   Project 2
    |--build.gradle
    |--settings.gradle
    |--Subproject2-1
    |    |--build.gradle
  </code></pre>
  
  <p></p>
  
  <p><code>Subproject1</code> have as a dependency a <code>subproject2</code> and <code>Subproject2-1</code> need <code>subproject1</code>, How can I do to <code>subproject2-1</code> have as a dependency <code>subproject1</code>?</p>