File tree Expand file tree Collapse file tree 3 files changed +4
-25
lines changed
Expand file tree Collapse file tree 3 files changed +4
-25
lines changed Original file line number Diff line number Diff line change 55
66jobs :
77 build :
8- name : " build"
98 runs-on : ubuntu-latest
109 steps :
1110 - uses : actions/checkout@v4
2524 if : ${{ github.ref == 'refs/heads/main' || startswith(github.ref, 'refs/tags/') }}
2625 runs-on : ubuntu-latest
2726 steps :
28- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
27+ - uses : actions/checkout@v4
2928 with :
3029 fetch-depth : 0
3130 - uses : actions/setup-java@v4
3635 env :
3736 SIGNING_PRIVATE_KEY : ${{ secrets.MAVEN_CENTRAL_GPG_KEY }}
3837 SIGNING_PASSWORD : ${{ secrets.MAVEN_CENTRAL_GPG_PASSWORD }}
39- ORG_GRADLE_PROJECT_sonatype_username : ${{ secrets.SONATYPE_S01_USERNAME }}
40- ORG_GRADLE_PROJECT_sonatype_password : ${{ secrets.SONATYPE_S01_PASSWORD }}
38+ ORG_GRADLE_PROJECT_mavenCentralPublishUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
39+ ORG_GRADLE_PROJECT_mavenCentralPublishPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
4140 run : ./gradlew publish
Original file line number Diff line number Diff line change @@ -32,26 +32,6 @@ publishing {
3232 }
3333 }
3434 }
35-
36- repositories {
37- if (" ${ project.version} " . endsWith(' -SNAPSHOT' )) {
38- sonatypeSnapshots {
39- url = " https://s01.oss.sonatype.org/content/repositories/snapshots/"
40- credentials {
41- username = project. findProperty(' sonatype_username' )
42- password = project. findProperty(' sonatype_password' )
43- }
44- }
45- } else {
46- sonatypeMavenCentral {
47- url = " https://s01.oss.sonatype.org/service/local/"
48- credentials {
49- username = project. findProperty(' sonatype_username' )
50- password = project. findProperty(' sonatype_password' )
51- }
52- }
53- }
54- }
5535}
5636
5737pluginManager. withPlugin(' java-library' ) {
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