Skip to content

Commit d70eb9d

Browse files
committed
update sonatype urls
1 parent e9e7960 commit d70eb9d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ javadoc {
125125
}
126126

127127
signing {
128+
def signingKeyId = System.getenv("GPG_KEY_NAME")
128129
useGpgCmd()
129130
sign(publishing.publications)
130131
}
@@ -176,8 +177,8 @@ publishing {
176177
nexusPublishing {
177178
repositories {
178179
sonatype {
179-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
180-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
180+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
181+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
181182
username = System.getenv("OSSRH_USER")
182183
password = System.getenv("OSSRH_PASSWORD")
183184
}

0 commit comments

Comments
 (0)