title: Invalid classpath publish/ export dependency /ouat-contract. Project entries not supported
body: <p>I am trying create an Gradle multi project similar to this structure</p>
  
  <pre><code>ouat-services
    - ouat-contract
    - ouat-servicesImpl (web project)
  </code></pre>
  
  <p>I followed the eclipse example and define my ouat-services settings.gradle as</p>
  
  <pre><code>include "ouat-contract", "ouat-servicesImpl"
  </code></pre>
  
  <p>In my ouat-servicesImpl build-gradle I define</p>
  
  <pre><code>dependencies {
    compile project(':ouat-contract')
  }
  </code></pre>
  
  <p>My problem starts when I try apply war plug-in in ouat-servicesImpl, I receive the following message in eclipse problem view:</p>
  
  <pre><code>Invalid classpath publish/ export dependency /ouat-contract. Project entries not supported
  </code></pre>
  
  <p>My ouat-services build.gradle</p>
  
  <pre><code>configure(subprojects) {
  
    apply plugin: 'com.github.ben-manes.versions'
    apply plugin: 'eclipse'
    apply plugin: 'java'
  
    version = '1.0'
  
    sourceCompatibility = 1.8
    targetCompatibility = 1.8
  
    def defaultEncoding = 'UTF-8'
    [compileJava, compileTestJava]*.options*.encoding = defaultEncoding
  
    repositories {
  
      jcenter()
      mavenLocal()
      mavenCentral()
    }
  
    jar {
      manifest.attributes provider: 'Company'
    }
  }
  
  configure(project(':ouat-servicesImpl')) {
  
    apply plugin: 'checkstyle'
    apply plugin: 'eclipse-wtp'
    apply plugin: 'findbugs'
    apply plugin: 'jacoco'
    //apply plugin: 'jetty'
    apply plugin: 'pmd'
    apply plugin: 'war'
  }
  
  buildscript {
  
    repositories {
  
      jcenter()
      mavenCentral()
      mavenLocal()
    }
  
    dependencies {
      classpath 'com.github.ben-manes:gradle-versions-plugin:0.10.1'
    }
  }
  </code></pre>
  
  <p>My ouat-servicesImpl build gradle was changed to:</p>
  
  <pre><code>dependencies {
  
    compile project(':ouat-contract')
  
    cxfArtifacts.each { artifact -&gt;
      compile "org.apache.cxf:$artifact:$cxfVersion"
    }
  
    springArtifacts.each { artifact -&gt;
      compile "org.springframework:$artifact:$springVersion"
    }
  
    testCompile "org.testng:testng:$testNGVersion"
    testCompile "org.hamcrest:hamcrest-all:$hamcrestVersion"
    testCompile "org.springframework:spring-test:$springVersion"
  
    //WAR PLUGIN
    providedCompile "javax.servlet:javax.servlet-api:$servletAPIVersion"
    runtime "javax.servlet:jstl:$jstlVersion"
  }
  </code></pre>
  
  <p>Is this an eclipse plug-in problem or I am doing something wrong?</p>