File tree Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 2020 env :
2121 ORG_GRADLE_PROJECT_signKey : ${{ secrets.SIGN_KEY }}
2222 ORG_GRADLE_PROJECT_signKeyPass : ${{ secrets.SIGN_KEY_PASS }}
23- ORG_GRADLE_PROJECT_sonatypeUsername : ${{ secrets.SONATYPE_USERNAME }}
24- ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.SONATYPE_PASSWORD }}
25- run : ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
23+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
24+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
25+ run : ./gradlew publishToMavenCentral
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
33 id(" com.github.johnrengelman.shadow" )
44 id(" biz.aQute.bnd.builder" )
55 id(" maven-publish" )
6- id(" io.github.gradle-nexus.publish-plugin " )
6+ id(" io.github.sgtsilvio. gradle.maven-central-publishing " )
77 id(" signing" )
88 id(" com.github.hierynomus.license" )
99 id(" pmd" )
@@ -310,12 +310,6 @@ allprojects {
310310 }
311311}
312312
313- nexusPublishing {
314- repositories {
315- sonatype()
316- }
317- }
318-
319313/* ******************** checks ******************** */
320314
321315allprojects {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ awaitility.version=4.3.0
3232#
3333plugin.shadow.version =6.1.0
3434plugin.bnd.version =5.3.0
35- plugin.nexus- publish.version =1.3.0
35+ plugin.maven-central- publish.version =0.4.1
3636plugin.license.version =0.15.0
3737plugin.utf8.version =0.1.0
3838plugin.metadata.version =0.2.0
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pluginManagement {
88 plugins {
99 id(" com.github.johnrengelman.shadow" ) version " ${extra[" plugin.shadow.version" ]} "
1010 id(" biz.aQute.bnd.builder" ) version " ${extra[" plugin.bnd.version" ]} "
11- id(" io.github.gradle-nexus.publish-plugin " ) version " ${extra[" plugin.nexus -publish.version" ]} "
11+ id(" io.github.sgtsilvio. gradle.maven-central-publishing " ) version " ${extra[" plugin.maven-central -publish.version" ]} "
1212 id(" com.github.hierynomus.license" ) version " ${extra[" plugin.license.version" ]} "
1313 id(" com.github.sgtsilvio.gradle.utf8" ) version " ${extra[" plugin.utf8.version" ]} "
1414 id(" com.github.sgtsilvio.gradle.metadata" ) version " ${extra[" plugin.metadata.version" ]} "
You can’t perform that action at this time.
0 commit comments