Skip to content

Commit

Permalink
fixed #16
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Vanusanik committed Jan 15, 2023
1 parent 24836af commit aacc82a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@ tasks {
}

signPlugin {
certificateChain.set(File("./signcerts/chain.crt").readText(Charsets.UTF_8))
privateKey.set(File("./signcerts/private.pem").readText(Charsets.UTF_8))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
try {
certificateChain.set(File("./signcerts/chain.crt").readText(Charsets.UTF_8))
privateKey.set(File("./signcerts/private.pem").readText(Charsets.UTF_8))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
} catch (_: Exception) {

}
}

publishPlugin {
Expand Down

0 comments on commit aacc82a

Please sign in to comment.