Skip to content

Commit

Permalink
Try to wire signing into publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Oct 11, 2023
1 parent f854d04 commit f657cf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/AndroidClient/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ if (project.hasProperty('signing.keyId')) {
println "Signing enabled"
signing {
sign publishing.publications.mavenJava
useInMemoryPgpKeys(findProperty("signing.keyId") as String, findProperty("signing.password") as String)
useInMemoryPgpKeys(findProperty("signing.keyId") as String, null)
}
} else {
println "Signing disabled"
Expand Down
5 changes: 2 additions & 3 deletions src/AndroidClient/client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ if (project.hasProperty('signing.keyId')) {
println "Signing enabled"
signing {
sign publishing.publications.mavenJava
useInMemoryPgpKeys(findProperty("signing.keyId") as String, findProperty("signing.password") as String)

// useGpgCmd(findProperty("signing.secretKeyRingFile"))
useInMemoryPgpKeys(findProperty("signing.keyId") as String, null)
//useGpgCmd(findProperty("signing.secretKeyRingFile"))
}
} else {
println "Signing disabled"
Expand Down

0 comments on commit f657cf5

Please sign in to comment.