Create Jar artifact with test code

This commit is contained in:
Florian Schmaus 2014-08-12 21:58:04 +02:00
parent 47a59ad7b3
commit 7436a16d09
1 changed files with 5 additions and 0 deletions

View File

@ -148,9 +148,14 @@ subprojects {
classifier = 'javadoc'
from javadoc.destinationDir
}
task testJar(type: Jar) {
classifier = 'tests'
from sourceSets.test.output
}
artifacts {
archives sourcesJar
archives javadocJar
archives testJar
}
uploadArchives {