We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb1e659 commit fe0e6b8Copy full SHA for fe0e6b8
build.gradle
@@ -50,8 +50,9 @@ if (project.properties.containsKey('signing.keyId')) {
50
uploadArchives {
51
repositories {
52
mavenDeployer {
53
- beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
54
-
+ if (project.properties.containsKey('signing.keyId')) {
+ beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
55
+ }
56
57
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots') {
58
authentication(userName: sonatypeUser, password: sonatypePass)
0 commit comments