Skip to content

Commit bfec4fc

Browse files
committed
Migrate from Legacy OSSRH to Central Portal
1 parent ec95766 commit bfec4fc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ signing {
270270
nexusPublishing {
271271
repositories {
272272
sonatype {
273-
stagingProfileId.set(rootProject.ext["sonatypeStagingProfileId"].toString())
273+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
274+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
275+
276+
// stagingProfileId.set(rootProject.ext["sonatypeStagingProfileId"].toString())
274277
username.set(rootProject.ext["sonatypeUsername"].toString())
275278
password.set(rootProject.ext["sonatypePassword"].toString())
276279
}

0 commit comments

Comments
 (0)