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:
19
19
- name : Publish to Sonatype
20
20
run : ./gradlew -Pversion=${GITHUB_REF:11} publish
21
21
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 }}
24
24
ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SIGNING_KEY }}
25
25
ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SIGNING_PASSWORD }}
26
26
- name : Release to Sonatype
27
27
run : ./gradlew -Pversion=${GITHUB_REF:11} closeAndReleaseRepository
28
28
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 }}
31
31
32
32
site :
33
33
name : Publish website
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import kotlin.text.RegexOption.IGNORE_CASE
10
10
plugins {
11
11
kotlin(" jvm" ) apply false
12
12
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
14
14
id(" com.adarshr.test-logger" ) version " 4.0.0" apply false
15
15
id(" com.github.ben-manes.versions" ) version " 0.51.0"
16
16
id(" org.jetbrains.dokka" )
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ repositories {
11
11
12
12
dependencies {
13
13
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" )
15
15
}
Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ publishing {
12
12
maven {
13
13
name = " nexus"
14
14
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
+ }
16
19
}
17
20
}
18
21
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ versions.minutest=1.13.0
13
13
versions.mockk =1.13.11
14
14
versions.protobuf =4.27.1
15
15
versions.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