Skip to content

Commit 7696b49

Browse files
authored
Update sonatype central urls (#88)
1 parent 8709b2b commit 7696b49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ nexusPublishing {
115115
packageGroup.set("io.opentelemetry")
116116

117117
repositories {
118+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
118119
sonatype {
120+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
121+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
119122
username.set(System.getenv("SONATYPE_USER"))
120123
password.set(System.getenv("SONATYPE_KEY"))
121124
}

0 commit comments

Comments
 (0)