title: Why Does gradle eclipseClasspath task does not include transitive project dependencies?
body: <p>I created a simple example(the names don't really mean anything):</p>
  
  <p>folder structure:</p>
  
  <pre><code>gradleMultiProject
      build.gradle
      core
          build.gradle
          src
              main
                  java
                      Core.java
      database
          build.gradle
          src
              main
                  java
                      Database.java
      settings.gradle
      webapp
          build.gradle
          src
              main
                  java
                      Webapp.java
  </code></pre>
  
  <p>Below are the files mentioned above:<br/><br/></p>
  
  <p>build.gradle (root gradle build file under gradleMultiProject folder)</p>
  
  <pre><code>subprojects {
      apply plugin: 'java'
      apply plugin: 'eclipse'
  }
  </code></pre>
  
  <p>settings.gradle
  <code>include 'core', 'database', 'webapp'</code><br/><br/></p>
  
  <p>gradleMultiProject\core\src\main\java\Core.java</p>
  
  <pre><code>package main.java;
  
  public class Core
  {
      public static String HELLO_MESSAGE = "hello world!";
  }
  </code></pre>
  
  <p>Core's build.gradle</p>
  
  <pre><code>task hello {
      println "hello from core!"
  }
  </code></pre>
  
  <p><br/><br/></p>
  
  <p>gradleMultiProject\database\src\main\java\Database.java</p>
  
  <pre><code>package main.java;
  
  public class Database
  {
    public void saveMessage()
    {
      System.out.println(Core.HELLO_MESSAGE);
    }
  }
  </code></pre>
  
  <p>Database's build.gradle</p>
  
  <pre><code>dependencies {
      compile project(':core')
  }
  </code></pre>
  
  <p><br/><br/></p>
  
  <p>gradleMultiProject\webapp\src\main\java</p>
  
  <pre><code>package main.java;
  
  public class Webapp
  {
    public static void main(String[] args)
    {
      Database database = new Database();
      database.saveMessage();
      System.out.println(Core.HELLO_MESSAGE);
    }
  }
  </code></pre>
  
  <p>Webapp's build.gradle</p>
  
  <pre><code>dependencies {
      compile project(':database')
  }
  </code></pre>
  
  <p><br/><br/><br/><br/>
  <strong>Gradle compiles everything just fine(gradle build). It even lists the transitive dependencies just fine(gradle dependencies). But when I try to generate a .classpath file(gradle eclipseClasspath) for the webapp project it doesn't include core.<br/> <br/> WHY?!?!?!?!?!</strong></p>