File tree Expand file tree Collapse file tree 5 files changed +11
-8
lines changed
Expand file tree Collapse file tree 5 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ jobs:
1919 - name : Publish to Sonatype
2020 run : ./gradlew -Pversion=${GITHUB_REF:11} publish
2121 env :
22- ORG_GRADLE_PROJECT_nexusUsername : ${{ secrets.NEXUS_USERNAME }}
23- ORG_GRADLE_PROJECT_nexusPassword : ${{ secrets.NEXUS_PASSWORD }}
22+ ORG_GRADLE_PROJECT_ossrhToken : ${{ secrets.OSSRH_TOKEN }}
23+ ORG_GRADLE_PROJECT_ossrhTokenPassword : ${{ secrets.OSSRH_TOKEN_PASSWORD }}
2424 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SIGNING_KEY }}
2525 ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SIGNING_PASSWORD }}
2626 - name : Release to Sonatype
2727 run : ./gradlew -Pversion=${GITHUB_REF:11} closeAndReleaseRepository
2828 env :
29- ORG_GRADLE_PROJECT_nexusUsername : ${{ secrets.NEXUS_USERNAME }}
30- ORG_GRADLE_PROJECT_nexusPassword : ${{ secrets.NEXUS_PASSWORD }}
29+ ORG_GRADLE_PROJECT_ossrhToken : ${{ secrets.OSSRH_TOKEN }}
30+ ORG_GRADLE_PROJECT_ossrhTokenPassword : ${{ secrets.OSSRH_TOKEN_PASSWORD }}
3131
3232 site :
3333 name : Publish website
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import kotlin.text.RegexOption.IGNORE_CASE
1010plugins {
1111 kotlin(" jvm" ) apply false
1212 id(" io.codearte.nexus-staging" ) version " 0.30.0"
13- id(" org.jmailen.kotlinter" ) version " 4.3 .0" apply false
13+ id(" org.jmailen.kotlinter" ) version " 4.4 .0" apply false
1414 id(" com.adarshr.test-logger" ) version " 4.0.0" apply false
1515 id(" com.github.ben-manes.versions" ) version " 0.51.0"
1616 id(" org.jetbrains.dokka" )
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ repositories {
1111
1212dependencies {
1313 implementation(" org.jetbrains.dokka:dokka-gradle-plugin:1.9.20" )
14- implementation(" com.netflix.nebula:nebula-publishing-plugin:20.3 .0" )
14+ implementation(" com.netflix.nebula:nebula-publishing-plugin:21.0 .0" )
1515}
Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ publishing {
1212 maven {
1313 name = " nexus"
1414 url = uri(" https://oss.sonatype.org/service/local/staging/deploy/maven2/" )
15- credentials(PasswordCredentials ::class )
15+ credentials {
16+ username = findProperty(" ossrhToken" ) as String
17+ password = findProperty(" ossrhTokenPassword" ) as String
18+ }
1619 }
1720 }
1821
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ versions.minutest=1.13.0
1313versions.mockk =1.13.11
1414versions.protobuf =4.27.1
1515versions.opentest4j =1.3.0
16- versions.spring-boot =3.1.5
16+ versions.spring-boot =3.3.1
You can’t perform that action at this time.
0 commit comments