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 20
20
env :
21
21
ORG_GRADLE_PROJECT_signKey : ${{ secrets.SIGN_KEY }}
22
22
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 {
3
3
id(" com.github.johnrengelman.shadow" )
4
4
id(" biz.aQute.bnd.builder" )
5
5
id(" maven-publish" )
6
- id(" io.github.gradle-nexus.publish-plugin " )
6
+ id(" io.github.sgtsilvio. gradle.maven-central-publishing " )
7
7
id(" signing" )
8
8
id(" com.github.hierynomus.license" )
9
9
id(" pmd" )
@@ -310,12 +310,6 @@ allprojects {
310
310
}
311
311
}
312
312
313
- nexusPublishing {
314
- repositories {
315
- sonatype()
316
- }
317
- }
318
-
319
313
/* ******************** checks ******************** */
320
314
321
315
allprojects {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ awaitility.version=4.3.0
32
32
#
33
33
plugin.shadow.version =6.1.0
34
34
plugin.bnd.version =5.3.0
35
- plugin.nexus- publish.version =1.3.0
35
+ plugin.maven-central- publish.version =0.4.1
36
36
plugin.license.version =0.15.0
37
37
plugin.utf8.version =0.1.0
38
38
plugin.metadata.version =0.2.0
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pluginManagement {
8
8
plugins {
9
9
id(" com.github.johnrengelman.shadow" ) version " ${extra[" plugin.shadow.version" ]} "
10
10
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" ]} "
12
12
id(" com.github.hierynomus.license" ) version " ${extra[" plugin.license.version" ]} "
13
13
id(" com.github.sgtsilvio.gradle.utf8" ) version " ${extra[" plugin.utf8.version" ]} "
14
14
id(" com.github.sgtsilvio.gradle.metadata" ) version " ${extra[" plugin.metadata.version" ]} "
You can’t perform that action at this time.
0 commit comments