Skip to content

Commit f21fb44

Browse files
authored
Update Sonatype publishing URL
1 parent 129befa commit f21fb44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ nexusPublishing {
135135
sonatype {
136136
username = System.getenv("SONATYPE_USER")
137137
password = System.getenv("SONATYPE_KEY")
138+
139+
// See https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
140+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
141+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
138142
}
139143
}
140144
}

0 commit comments

Comments
 (0)