Skip to content

Commit 61b1710

Browse files
author
Justin Ryan
committed
Multimodule builds need a dump signing task
1 parent 3a10a07 commit 61b1710

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

gradle/maven.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ subprojects {
99
required true
1010
sign configurations.archives
1111
}
12+
} else {
13+
task signArchives {
14+
// do nothing
15+
}
1216
}
1317
}
1418

@@ -17,7 +21,7 @@ subprojects {
1721
*/
1822
task uploadMavenCentral(type:Upload) {
1923
configuration = configurations.archives
20-
dependsOn 'signArchives'
24+
dependsOn { 'signArchives' }
2125
doFirst {
2226
repositories.mavenDeployer {
2327
beforeDeployment { org.gradle.api.artifacts.maven.MavenDeployment deployment -> signing.signPom(deployment) }

0 commit comments

Comments
 (0)