File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ version = '1.0.0-SNAPSHOT'
3232repositories {
3333 mavenCentral()
3434 maven {
35- url " https://oss. sonatype.org /content/repositories/snapshots"
35+ url " https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots"
3636 }
3737 mavenLocal()
3838}
@@ -234,8 +234,8 @@ publishing {
234234
235235 repositories {
236236 maven {
237- def releasesRepoUrl = " https://oss. sonatype.org /service/local/staging/deploy/maven2/"
238- def snapshotsRepoUrl = " https://oss .sonatype.org/content/repositories/ snapshots/"
237+ def releasesRepoUrl = " https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/"
238+ def snapshotsRepoUrl = " https://central .sonatype.com/repository/maven- snapshots/"
239239 url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
240240 credentials {
241241 username System . getenv(' SONATYPE_CENTRAL_USERNAME' )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ echo "$GPG_SECRET_KEYS_ENC" | base64 --decode > "$GPG_KEY_LOCATION"
88export PROJECT_VERSION=" $( ./gradlew properties -q | grep " ^version: " | awk ' {print $2}' ) "
99echo " \$ PROJECT_VERSION: $PROJECT_VERSION " >&2
1010# Upload only snapshots to Sonatype OSS so it can make its way to Maven Central
11- # https://oss. sonatype.org /content/repositories/snapshots/io/tiledb/tiledb-cloud-java/
11+ # https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots/io/tiledb/tiledb-cloud-java/
1212./gradlew publishMavenJavaPublicationToMavenRepository
1313
1414# Only non-snapshot can be pushed as Maven releases
You can’t perform that action at this time.
0 commit comments