Skip to content
Permalink
Browse files

Added test and test-sources artifacts.

  • Loading branch information...
FelixGV committed Jul 14, 2015
1 parent 242e784 commit 01086ea555382b9a72bc093665f4110496506b36
Showing with 11 additions and 1 deletion.
  1. +11 −1 build.gradle
@@ -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") {

0 comments on commit 01086ea

Please sign in to comment.
You can’t perform that action at this time.