Skip to content

Commit

Permalink
[build] update build.gradle.kts, signing
Browse files Browse the repository at this point in the history
  • Loading branch information
YannCebron committed May 8, 2024
1 parent 9935b30 commit 366c5e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,10 @@ publishing {
}
}

// only available in release workflow
signing {
val signingKey = properties("signingKey").get()
val signingPassword = properties("signingPassword").get()
val signingKey = project.findProperty("signingKey").toString()
val signingPassword = project.findProperty("signingPassword").toString()

isRequired = signingKey.isNotEmpty() && signingPassword.isNotEmpty()

Expand Down

0 comments on commit 366c5e5

Please sign in to comment.