Update urls for sonatype central (#13993)
This commit is contained in:
parent
5357d883c7
commit
8579a74fb2
|
@ -22,7 +22,10 @@ nexusPublishing {
|
||||||
packageGroup.set("io.opentelemetry")
|
packageGroup.set("io.opentelemetry")
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
|
||||||
sonatype {
|
sonatype {
|
||||||
|
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
|
||||||
|
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
|
||||||
username.set(System.getenv("SONATYPE_USER"))
|
username.set(System.getenv("SONATYPE_USER"))
|
||||||
password.set(System.getenv("SONATYPE_KEY"))
|
password.set(System.getenv("SONATYPE_KEY"))
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,10 @@ nexusPublishing {
|
||||||
packageGroup.set("io.opentelemetry")
|
packageGroup.set("io.opentelemetry")
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
|
||||||
sonatype {
|
sonatype {
|
||||||
|
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
|
||||||
|
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
|
||||||
username.set(System.getenv("SONATYPE_USER"))
|
username.set(System.getenv("SONATYPE_USER"))
|
||||||
password.set(System.getenv("SONATYPE_KEY"))
|
password.set(System.getenv("SONATYPE_KEY"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue