Skip to content

Commit 00bf98b

Browse files
authored
chore: update Nexus publishing to use Central Portal API (#1380)
2 parents 0a92200 + d11ca3f commit 00bf98b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,11 @@ rootProject.apply {
311311

312312
nexusPublishing {
313313
repositories {
314-
sonatype()
314+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
315+
sonatype {
316+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
317+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
318+
}
315319
}
316320
packageGroup.set("org.seasar")
317321
}

0 commit comments

Comments
 (0)