Skip to content

Commit

Permalink
Gradle: Re-enable signing
Browse files Browse the repository at this point in the history
  • Loading branch information
saschpe committed Mar 4, 2022
1 parent aebaab7 commit a329e30
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions kase64/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ publishing {
}
}

// signing {
// val sonatypeGpgKey = System.getenv("SONATYPE_GPG_KEY")
// val sonatypeGpgKeyPassword = System.getenv("SONATYPE_GPG_KEY_PASSWORD")
// when {
// sonatypeGpgKey == null || sonatypeGpgKeyPassword == null -> useGpgCmd()
// else -> useInMemoryPgpKeys(sonatypeGpgKey, sonatypeGpgKeyPassword)
// }
// sign(publishing.publications)
// }
signing {
val sonatypeGpgKey = System.getenv("SONATYPE_GPG_KEY")
val sonatypeGpgKeyPassword = System.getenv("SONATYPE_GPG_KEY_PASSWORD")
when {
sonatypeGpgKey == null || sonatypeGpgKeyPassword == null -> useGpgCmd()
else -> useInMemoryPgpKeys(sonatypeGpgKey, sonatypeGpgKeyPassword)
}
sign(publishing.publications)
}

0 comments on commit a329e30

Please sign in to comment.