Skip to content

Commit

Permalink
Voodoo magic to get a source JAR installed along with the artifact JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
hlship committed Nov 4, 2010
1 parent f72e8e3 commit c4e0533
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Expand Up @@ -39,4 +39,13 @@ subprojects {


options.suites("src/test/conf/testng.xml") options.suites("src/test/conf/testng.xml")
} }

task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

artifacts {
archives sourcesJar
}
} }

0 comments on commit c4e0533

Please sign in to comment.