Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Only sign when signatory
Browse files Browse the repository at this point in the history
  • Loading branch information
PizzaCrust committed Feb 13, 2017
1 parent e9ab176 commit c2a2144
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ dependencies {
//shadeFinalJar group: 'org.reflections', name: 'reflections', version: '0.9.10'
}

ext.hasSign = getProperties().containsKey("signing.keyId")

println("Has signed: ${ext.hasSign}")

signing {
required { hasSign }
sign configurations.archives
}

Expand Down

0 comments on commit c2a2144

Please sign in to comment.