title: Configure parent/root project for child project in gradle
body: <p>Is it possible to set parent project of a child gradle project.</p>
  
  <p>In my case, all parent and child project lies on same level in the file hierarchy. For example</p>
  
  <ul>
  <li><p>code</p>
  
  <ul>
  <li><p>/parent project</p>
  
  <ul>
  <li>build.gradle</li>
  </ul></li>
  <li><p>/child project1</p>
  
  <ul>
  <li>build.gradle</li>
  </ul></li>
  <li><p>/child project2</p>
  
  <ul>
  <li>build.gradle</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>Here porject 1 depends on project2, so i am referring them as</p>
  
  <pre><code>compile project(':../project2')
  </code></pre>
  
  <p>also in my settings.gradle file , i have</p>
  
  <pre><code>include '../child_project1'
  include '../child_project1'
  </code></pre>
  
  <p>with this i am able to run tasks from parent project folder but individual tasks are not running from child projects.</p>