File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -459,6 +459,13 @@ publishing {
459
459
}
460
460
}
461
461
462
+ signing {
463
+ val signingKey: String? = System .getenv(" JRELEASER_GPG_SECRET_KEY" )
464
+ val signingPass: String? = System .getenv(" JRELEASER_GPG_PASSPHRASE" )
465
+ useInMemoryPgpKeys(signingKey, signingPass)
466
+ sign(publishing.publications[" mavenJava" ])
467
+ }
468
+
462
469
repositories {
463
470
maven {
464
471
url = layout.buildDirectory.dir(" staging-deploy" ).get().asFile.toURI()
@@ -497,10 +504,7 @@ jreleaser {
497
504
active.set(Active .ALWAYS )
498
505
url.set(" https://central.sonatype.com/api/v1/publisher" )
499
506
stagingRepository(" build/staging-deploy" )
500
- sign = true
501
- checksums = true
502
- sourceJar = true
503
- javadocJar = true
507
+ sign = false
504
508
}
505
509
}
506
510
}
You can’t perform that action at this time.
0 commit comments