Skip to content

Commit

Permalink
Make it signing only when keyId is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodongw committed Jun 12, 2015
1 parent c1d9d2f commit 20d46cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ artifacts {
}

signing {
required { project.hasProperty("signing.keyId") && gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}

Expand Down

0 comments on commit 20d46cf

Please sign in to comment.