We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a10a07 commit 61b1710Copy full SHA for 61b1710
1 file changed
gradle/maven.gradle
@@ -9,6 +9,10 @@ subprojects {
9
required true
10
sign configurations.archives
11
}
12
+ } else {
13
+ task signArchives {
14
+ // do nothing
15
+ }
16
17
18
@@ -17,7 +21,7 @@ subprojects {
21
*/
22
task uploadMavenCentral(type:Upload) {
19
23
configuration = configurations.archives
20
- dependsOn 'signArchives'
24
+ dependsOn { 'signArchives' }
25
doFirst {
26
repositories.mavenDeployer {
27
beforeDeployment { org.gradle.api.artifacts.maven.MavenDeployment deployment -> signing.signPom(deployment) }
0 commit comments