title: Gradle: using resources in a dependency jar as a sourceset
body: <p>Suppose I have a <code>build.gradle</code> thus:</p>
  
  <pre><code>dependencies {
      compile 'com.group:some-app:1.0.1'
      compile 'com.group:some-app:1.0.1:sources'
  }
  
  sourceSets {
      main {
          other {
               srcDir 'src/main/other'
          }
      }
  }
  </code></pre>
  
  <p>So <code>some-app-1.0.1-sources.jar</code> has source files in it - not Java files, but files from which Java can be generated.</p>
  
  <p>How do I include those files in <code>sourceSets</code> ?</p>