Skip to content

Commit

Permalink
Use gpg-agent as describe in https://docs.gradle.org/current/userguid…
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed Nov 15, 2021
1 parent 81f53e0 commit cf50812
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions mavsdk_server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,10 @@ allprojects {
}

if (project.hasProperty('ossrhUsername')
&& project.hasProperty('ossrhPassword')
&& project.hasProperty('signing.keyId')
&& project.hasProperty('signing.password')
&& project.hasProperty('signing.secretKeyRingFile')) {
&& project.hasProperty('ossrhPassword')) {

signing {
useGpgCmd()
sign configurations.archives
}

Expand Down
6 changes: 2 additions & 4 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,10 @@ subprojects {
}

if (project.hasProperty('ossrhUsername')
&& project.hasProperty('ossrhPassword')
&& project.hasProperty('signing.keyId')
&& project.hasProperty('signing.password')
&& project.hasProperty('signing.secretKeyRingFile')) {
&& project.hasProperty('ossrhPassword')) {

signing {
useGpgCmd()
sign configurations.archives
}

Expand Down

0 comments on commit cf50812

Please sign in to comment.