Skip to content

Commit

Permalink
Multimodule builds need a dump signing task
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Ryan committed Apr 9, 2012
1 parent 3a10a07 commit 61b1710
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gradle/maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ subprojects {
required true
sign configurations.archives
}
} else {
task signArchives {
// do nothing
}
}
}

Expand All @@ -17,7 +21,7 @@ subprojects {
*/
task uploadMavenCentral(type:Upload) {
configuration = configurations.archives
dependsOn 'signArchives'
dependsOn { 'signArchives' }
doFirst {
repositories.mavenDeployer {
beforeDeployment { org.gradle.api.artifacts.maven.MavenDeployment deployment -> signing.signPom(deployment) }
Expand Down

0 comments on commit 61b1710

Please sign in to comment.