Skip to content

Commit 4e1f67a

Browse files
committed
chore(build): Adjust publishing for new Central endpoint
1 parent cd60d64 commit 4e1f67a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
id 'jacoco'
1010
id 'com.gradleup.shadow' version '8.3.0'
1111
id 'org.jetbrains.kotlin.jvm' version '2.0.0'
12-
id("io.github.gradle-nexus.publish-plugin") version '2.0.0'
12+
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
1313
}
1414

1515
apply plugin: 'jacoco'
@@ -314,8 +314,8 @@ nexusPublishing {
314314
username = ENV.SONATYPE_USER
315315
password = ENV.SONATYPE_PASS
316316

317-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
318-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
317+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
318+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
319319
}
320320
}
321321

0 commit comments

Comments
 (0)