Skip to content

Commit fd429bb

Browse files
committed
Update gradle-nexus.publish-plugin from 1.3.0 to 2.0.0
1 parent d8a01f0 commit fd429bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
java-version: 11
9797

9898
- name: Build and release
99-
run: ./gradlew githubRelease publishToSonatype closeAndReleaseStagingRepository releaseSummary
99+
run: ./gradlew githubRelease publishToSonatype closeAndReleaseStagingRepositories releaseSummary
100100
env:
101101
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
102102
NEXUS_TOKEN_USER: ${{secrets.NEXUS_TOKEN_USER}}

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id "org.shipkit.shipkit-changelog" version "1.2.0"
44
id "org.shipkit.shipkit-github-release" version "1.2.0"
55
id "org.shipkit.shipkit-auto-version" version "1.2.2"
6-
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
6+
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
77
id "org.jetbrains.kotlin.jvm" version "1.9.20" apply false
88
id "org.jetbrains.dokka" version "1.9.10" apply false
99
}
@@ -59,7 +59,7 @@ if (isSnapshot) {
5959
//snapshot versions do not produce changelog / Github releases
6060
enabled = false
6161
}
62-
tasks.named("closeAndReleaseStagingRepository") {
62+
tasks.named("closeAndReleaseStagingRepositories") {
6363
//snapshot binaries are available in Sonatype without the need to close the staging repo
6464
enabled = false
6565
}

0 commit comments

Comments
 (0)