Skip to content

Commit 8579a74

Browse files
authored
Update urls for sonatype central (open-telemetry#13993)
1 parent 5357d88 commit 8579a74

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

build.gradle.kts

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

2424
repositories {
25+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
2526
sonatype {
27+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
28+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
2629
username.set(System.getenv("SONATYPE_USER"))
2730
password.set(System.getenv("SONATYPE_KEY"))
2831
}

gradle-plugins/build.gradle.kts

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

9999
repositories {
100+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
100101
sonatype {
102+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
103+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
101104
username.set(System.getenv("SONATYPE_USER"))
102105
password.set(System.getenv("SONATYPE_KEY"))
103106
}

0 commit comments

Comments
 (0)