Skip to content

Commit cc5ad66

Browse files
authored
Update maven central publishing (#239)
1 parent a85dea5 commit cc5ad66

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
@@ -46,7 +46,10 @@ nexusPublishing {
4646
packageGroup.set("io.opentelemetry.semconv")
4747

4848
repositories {
49+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
4950
sonatype {
51+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
52+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
5053
username.set(System.getenv("SONATYPE_USER"))
5154
password.set(System.getenv("SONATYPE_KEY"))
5255
}

0 commit comments

Comments
 (0)