Skip to content

Commit 5a25bb6

Browse files
authored
Update repos for sonatype central (#7407)
1 parent 07e8d43 commit 5a25bb6

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
@@ -12,7 +12,10 @@ nexusPublishing {
1212
packageGroup.set("io.opentelemetry")
1313

1414
repositories {
15+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
1516
sonatype {
17+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
18+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
1619
username.set(System.getenv("SONATYPE_USER"))
1720
password.set(System.getenv("SONATYPE_KEY"))
1821
}

0 commit comments

Comments
 (0)