File tree Expand file tree Collapse file tree 3 files changed +3
-22
lines changed
Expand file tree Collapse file tree 3 files changed +3
-22
lines changed Original file line number Diff line number Diff line change 2222 env :
2323 SIGNING_PRIVATE_KEY : ${{ secrets.MAVEN_CENTRAL_GPG_KEY }}
2424 SIGNING_PASSWORD : ${{ secrets.MAVEN_CENTRAL_GPG_PASSWORD }}
25- ORG_GRADLE_PROJECT_sonatype_username : ${{ secrets.SONATYPE_S01_USERNAME }}
26- ORG_GRADLE_PROJECT_sonatype_password : ${{ secrets.SONATYPE_S01_PASSWORD }}
25+ ORG_GRADLE_PROJECT_mavenCentralPublishUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
26+ ORG_GRADLE_PROJECT_mavenCentralPublishPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
2727 run : ./gradlew publish
2828 - name : Upload reports
2929 if : success() || failure()
Original file line number Diff line number Diff line change @@ -31,25 +31,6 @@ publishing {
3131 }
3232 }
3333
34- repositories {
35- if (" ${ project.version} " . endsWith(' -SNAPSHOT' )) {
36- sonatypeSnapshots {
37- url = " https://s01.oss.sonatype.org/content/repositories/snapshots/"
38- credentials {
39- username = project. findProperty(' sonatype_username' )
40- password = project. findProperty(' sonatype_password' )
41- }
42- }
43- } else {
44- sonatypeMavenCentral {
45- url = " https://s01.oss.sonatype.org/service/local/"
46- credentials {
47- username = project. findProperty(' sonatype_username' )
48- password = project. findProperty(' sonatype_password' )
49- }
50- }
51- }
52- }
5334}
5435
5536pluginManager. withPlugin(' java' ) {
Original file line number Diff line number Diff line change 11plugins {
2- id ' eu.xenit.enterprise-conventions.oss' version ' 0.5.2 '
2+ id ' eu.xenit.enterprise-conventions.oss' version ' 0.6.1 '
33 id ' org.ajoberstar.reckon.settings' version ' 0.19.2'
44}
55
You can’t perform that action at this time.
0 commit comments