File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 cache : gradle
1717 - name : Publish with Gradle
1818 env :
19+ # Replace these legacy secret values with a Central Portal user token.
1920 ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.OSSRH_PASSWORD }}
2021 ORG_GRADLE_PROJECT_sonatypeUsername : ${{ secrets.OSSRH_USERNAME }}
2122 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ publishing {
8282nexusPublishing {
8383 repositories {
8484 sonatype {
85- nexusUrl = uri(" https://oss. sonatype.org /service/local/" )
86- snapshotRepositoryUrl = uri(" https://oss .sonatype.org/content/repositories/ snapshots/" )
85+ nexusUrl. set( uri(" https://ossrh-staging-api.central. sonatype.com /service/local/" ) )
86+ snapshotRepositoryUrl. set( uri(" https://central .sonatype.com/repository/maven- snapshots/" ) )
8787 }
8888 }
8989}
You can’t perform that action at this time.
0 commit comments