title: How module can use resources of another module using gradle multi-module
body: <p>I have Project A and project B</p>
  
  <p>Project A unit-testings (under the tests dir) need to use resources files which under Projects B main/resources dir.</p>
  
  <p>gradle.build on Project A:</p>
  
  <pre><code>dependencies {
  ..    testCompile project(':web')
  }
  </code></pre>
  
  <p>gradle.build on Project B:</p>
  
  <pre><code>task testJar(type: Jar) {
      classifier 'resources'
      from sourceSets.main.resources
  }
  </code></pre>
  
  <p>still failing.
  i am not sure what am I missing?</p>
  
  <p>Thank you,
  ray.</p>