We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d05ec4 commit baf7659Copy full SHA for baf7659
build.gradle
@@ -93,9 +93,8 @@ publishing {
93
}
94
95
signing {
96
- if( project.hasProperty('signing.keyId') ) {
97
- required { true }
98
- } else if( project.hasProperty('signing.key') ) {
+ required { project.hasProperty('signing.keyId') || project.hasProperty('signing.key') }
+ if( project.hasProperty('signing.key') ) {
99
useInMemoryPgpKeys( project.findProperty('signing.key'), project.findProperty('signing.password') )
100
101
sign publishing.publications.maven
0 commit comments