File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments