File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import net.thebugmc.gradle.sonatypepublisher.PublishingType
2+
13plugins {
24 id(" studio.o7.remora" ) version " 0.0.9"
5+ id(" net.thebugmc.gradle.sonatype-central-portal-publisher" ) version " 1.2.4"
36}
47
58remora {
@@ -8,8 +11,6 @@ remora {
811
912 description = " Agones Java gRPC SDK implementation"
1013
11- mavenCentral.isEnabled = true
12-
1314 framework {
1415 lombok.isEnabled = true
1516 }
@@ -21,3 +22,15 @@ dependencies {
2122}
2223
2324java.toolchain.languageVersion.set(JavaLanguageVersion .of(21 ))
25+
26+ centralPortal {
27+ username = System .getenv(" SONATYPE_USERNAME" )
28+ password = System .getenv(" SONATYPE_PASSWORD" )
29+ name = remora.artifactId
30+ publishingType = PublishingType .USER_MANAGED
31+ }
32+
33+ signing {
34+ useInMemoryPgpKeys(System .getenv(" GPG_KEY" ), System .getenv(" GPG_PASSPHRASE" ))
35+ sign(publishing.publications)
36+ }
You can’t perform that action at this time.
0 commit comments