File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 2020 java-version : 17
2121 distribution : temurin
2222 cache : gradle
23- - name : Publish to Maven Central
24- run : ./gradlew deployNexus
23+ - name : Publish to Central Portal
24+ run : ./gradlew deployCentralPortal
2525 - name : Publish to GitHub Packages
2626 run : ./gradlew deployGithub
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ asm-commons = "9.6"
55android-tools = " 31.1.4"
66kotlin = " 2.0.0"
77shadow = " 8.3.0"
8- publisher = " 0.14 .0"
8+ publisher = " 0.18 .0"
99kotlinx-metadata = " 0.9.0"
1010
1111[libraries ]
Original file line number Diff line number Diff line change @@ -72,18 +72,17 @@ deployer {
7272 }
7373 }
7474
75- // use "deployNexus" to deploy to OSSRH / maven central
76- nexusSpec {
77- auth.user = secret(" SONATYPE_USER" )
78- auth.password = secret(" SONATYPE_PASSWORD" )
79- syncToMavenCentral = true
75+ // use "deployCentralPortal" to deploy to central portal
76+ centralPortalSpec {
77+ auth.user.set(secret(" SONATYPE_USER" ))
78+ auth.password.set(secret(" SONATYPE_PASSWORD" ))
8079 }
8180
8281 // use "deployNexusSnapshot" to deploy to sonatype snapshots repo
8382 nexusSpec(" snapshot" ) {
8483 auth.user = secret(" SONATYPE_USER" )
8584 auth.password = secret(" SONATYPE_PASSWORD" )
86- repositoryUrl = ossrhSnapshots1
85+ repositoryUrl = " https://central.sonatype.com/repository/maven-snapshots/ "
8786 release.version = " latest-SNAPSHOT"
8887 }
8988
You can’t perform that action at this time.
0 commit comments