On 20/08/10 3:37 AM, TheKaptain wrote:
You should be able to add to the jar definition as a workaround:

jar {
      from sourceSets.a.classesDir
      from sourceSets.b.classesDir
}

Haven't tried it in action, but that should work to incorporate your other
source sets into the jar.

You'll need to use sourceSets.a.classes, to pick up the task dependencies, or add the dependencies manually.

jar {
    from sourceSets.a.classes
    from sourceSets.b.classes
}


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to