Skip to content

Commit 2c4efdc

Browse files
Disabled signing when no uploadArchives
Change-Id: I1fde1c08cc7f94232f81e7fd91636e816e4c8394
1 parent 147a11b commit 2c4efdc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

websockets-rxjava/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ artifacts {
4242
}
4343

4444
signing {
45+
required { gradle.taskGraph.hasTask("uploadArchives") }
4546
sign configurations.archives
4647
}
4748
group = "com.appunite"
@@ -104,4 +105,4 @@ uploadArchives {
104105
}
105106
}
106107
}
107-
}
108+
}

websockets/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ artifacts {
4545
}
4646

4747
signing {
48+
required { gradle.taskGraph.hasTask("uploadArchives") }
4849
sign configurations.archives
4950
}
5051

0 commit comments

Comments
 (0)