File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2727
2828 - name : " Gradle Publish"
2929 run : |
30- ./gradlew publishToSonatype -Pversion=${GITHUB_REF:10} \
30+ ./gradlew publishToSonatype closeSonatypeStagingRepository -Pversion=${GITHUB_REF:10} \
3131 -Psigning.keyId=${GPG_KEY_ID} \
3232 -Psigning.password=${GPG_PASSPHRASE} \
3333 -Psigning.secretKeyRingFile=${GITHUB_WORKSPACE}/${GPG_KEY_ID}.gpg
Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ configure(listOf(rootProject)) {
4343
4444nexusPublishing {
4545 repositories {
46- sonatype()
46+ sonatype {
47+ nexusUrl.set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
48+ snapshotRepositoryUrl.set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
49+ }
4750 }
4851}
4952
You can’t perform that action at this time.
0 commit comments