On 30/07/2011, at 1:02 AM, AlanKrueger wrote:
> Another way that occurred to me would be to build a separate JAR target that
> builds the ones we want, leaving the standard JAR target to be used for only
> the tests.
Definitely an option.
Another option is to publish a resources jar:
task resourcesJar(type: Jar) {
from sourceSets.main.output
exclude '**/*.class'
classifier = 'resources'
}
artifacts {
archives resourcesJar
}
--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com