File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 53
53
OSSATUBER_PASSWORD : ${{ secrets.OSSATUBER_PASSWORD }}
54
54
OSSATUBER_USERNAME : ${{ secrets.OSSATUBER_USERNAME }}
55
55
run : | # TODO old way of setting the properties from environment variables in gradle
56
- ./gradlew publishToSonatype closeSonatypeStagingRepository --info \
56
+ ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --info \
57
57
-Psigning.keyId="${SIGNING_KEY_ID}" \
58
58
-Psigning.password="${SIGNING_PASSWORD}" \
59
59
-Psigning.key="${SIGNING_KEY}" \
Original file line number Diff line number Diff line change @@ -299,9 +299,9 @@ publishing {
299
299
password ossrhPassword
300
300
}
301
301
if (project. version. endsWith(' -SNAPSHOT' )) {
302
- url ' https://oss. sonatype.org /content/repositories/snapshots/'
302
+ url ' https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots/'
303
303
} else {
304
- url ' https://oss. sonatype.org /service/local/staging/deploy/maven2/'
304
+ url ' https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/'
305
305
}
306
306
}
307
307
}
@@ -312,8 +312,8 @@ nexusPublishing {
312
312
sonatype {
313
313
username. set(ossrhUsername)
314
314
password. set(ossrhPassword)
315
- nexusUrl. set(uri(" https://oss. sonatype.org /service/local/" ))
316
- snapshotRepositoryUrl. set(uri(" https://oss. sonatype.org /content/repositories/snapshots/" ))
315
+ nexusUrl. set(uri(" https://ossrh-staging-api.central. sonatype.com /service/local/" ))
316
+ snapshotRepositoryUrl. set(uri(" https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots/" ))
317
317
}
318
318
}
319
319
}
You can’t perform that action at this time.
0 commit comments