title: Gradle - Missing sub-project jar in parent-project war for eclipse deployment
body: <p>I have a gradle multiple projects like this:</p>
  
  <pre><code>root
    --core
    --web
  </code></pre>
  
  <p>When I include these projects in my eclipse, the war project hasn't jars of core in the classpath, so I can't deploy my war in a server.</p>
  
  <p>If I deploy the generated war from web/build/libs to my tomcat server, all works fine.</p>
  
  <p>But if I deploy from  eclipse the I get class not found error for the class from core project.</p>
  
  <p>build.gradle from web:</p>
  
  <pre><code>apply plugin: 'eclipse-wtp'
  apply plugin: 'war'
  
  dependencies {
      compile project(':core')
      //runtime project(':core')
      providedCompile 'javax.servlet:servlet-api:2.5'
  }
  </code></pre>
  
  <p>Thanks for the help.</p>