Skip to content

Commit 82cdc89

Browse files
authored
Update repos for sonatype central (#1942)
1 parent e1c2db4 commit 82cdc89

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
@@ -14,7 +14,10 @@ nexusPublishing {
1414
packageGroup.set("io.opentelemetry")
1515

1616
repositories {
17+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
1718
sonatype {
19+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
20+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
1821
username.set(System.getenv("SONATYPE_USER"))
1922
password.set(System.getenv("SONATYPE_KEY"))
2023
}

0 commit comments

Comments
 (0)