Skip to content

Commit

Permalink
Removed signing section from gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
gpeal committed Sep 4, 2018
1 parent b82850a commit 27e228f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions lottie/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ task javadoc(type: Javadoc) {
failOnError false
}

gradle.taskGraph.whenReady { taskGraph ->
if (taskGraph.allTasks.any { it instanceof Sign }) {
allprojects { ext."signing.keyId" = System.getenv("GRADLE_SIGNING_KEY_ID") }
allprojects { ext."signing.secretKeyRingFile" = "../secring.gpg" }
allprojects { ext."signing.password" = System.getenv("GRADLE_SIGNING_PASSWORD") }
}
}
// Re-enable this if releases are uploaded from CI.
//gradle.taskGraph.whenReady { taskGraph ->
// if (taskGraph.allTasks.any { it instanceof Sign }) {
// allprojects { ext."signing.keyId" = System.getenv("GRADLE_SIGNING_KEY_ID") }
// allprojects { ext."signing.secretKeyRingFile" = "~/.gnupg/secring.gpg" }
// allprojects { ext."signing.password" = System.getenv("GRADLE_SIGNING_PASSWORD") }
// }
//}

0 comments on commit 27e228f

Please sign in to comment.