Skip to content

Commit

Permalink
Added test and test-sources artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixGV committed Jul 14, 2015
1 parent 242e784 commit 01086ea
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,18 @@ task sourcesJar(type: Jar) {
from sourceSets.main.allSource
}

task testJar(type: Jar) {
classifier = 'test'
from sourceSets.test.output
}

task testSourcesJar(type: Jar) {
classifier = 'test-sources'
from sourceSets.test.allSource
}

artifacts {
archives javadocJar, sourcesJar
archives javadocJar, sourcesJar, testJar, testSourcesJar
}

if (project.hasProperty("signing.enabled") && project.property("signing.enabled") == "true") {
Expand Down

0 comments on commit 01086ea

Please sign in to comment.