title: Gradle project not found in root project
body: <p>I have a gradle project that has the following format:</p>
  
  <pre><code>DerivedProject
          settings.gradle
          build.gradle
          DerivedFolderA
          DerivedFolderB
  </code></pre>
  
  <p>Both DerivedFolderA and DerivedFolderB just contain java code, no gradle or settings.gradle files.
  DerivedProject build.gradle has the following tasks:</p>
  
  <pre><code>project(':DerivedFolderA')
  project(':DerivedFolderB')
  </code></pre>
  
  <p>DerivedProject settings.gradle has the following definition:</p>
  
  <pre><code>rootProject.name = 'DerivedProject'
  include 'DerivedFolderA', 'DerivedFolderB'
  </code></pre>
  
  <p>I can build this project just fine.</p>
  
  <p>I am trying to add this code to a root package that looks like the following:</p>
  
  <pre><code>RootPackage
      settings.gradle
      build.gradle
      SubdirectoryA
          build.gradle
      SubdirectoryB
          build.gradle
      SubdirectoryC
          DerivedProject
              settings.gradle
              build.gradle
              DerivedFolderA
              DerivedFolderB
  </code></pre>
  
  <p>settings.gradle in the root project has the following:</p>
  
  <pre><code>include 'SubdirectoryA', \
  include 'SubdirectoryB', \
  include 'SubdirectoryC:DerivedProject'
  </code></pre>
  
  <p>However, when I run gradle build from the RootPackage, I get an error:</p>
  
  <pre><code>* Where:
  Build file '/RootProject/SubdirectoryC/DerivedProject/build.gradle' line: 118
  
  * What went wrong:
  A problem occurred evaluating project ':SubdirectoryC:DerivedProject'.
  &gt; Project with path ':DerivedFolderA' could not be found in project ':SubdirectoryC:DerivedProject'.
  </code></pre>
  
  <p>I thought just sourcing the DerivedProject in the root directory would be enough.  Is there something I am missing in my gradle definitions?</p>