File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -232,24 +232,7 @@ publishing {
232
232
signing {
233
233
required { gradle. taskGraph. hasTask(" publish" ) }
234
234
235
- if (project. hasProperty(" signKeyId" ) || project. hasProperty(" signKey" )) {
236
- def signKey = project. findProperty(" signKey" )
237
- def signKeyId = project. findProperty(" signKeyId" )
238
- def signPass = project. findProperty(" signPass" )
239
- if (signKeyId) {
240
- useInMemoryPgpKeys(signKeyId, signKey, signPass)
241
- } else if (signKey) {
242
- useInMemoryPgpKeys(signKey, signPass)
243
- }
244
- sign publishing. publications. mavenJava
245
- } else {
246
- if (gradle. taskGraph. hasTask(" publish" )) {
247
- println (" No signing key given:\n " +
248
- " pass in -PsignPass=secret\n " +
249
- " WITH -PsignKey=~/.gnupg/ring.gpg\n " +
250
- " OR -PsignKeyId=1234ABCD\n " )
251
- }
252
- }
235
+ sign publishing. publications. mavenJava
253
236
}
254
237
255
238
spotless {
You can’t perform that action at this time.
0 commit comments