Skip to content

Commit

Permalink
Update nexus publishing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment committed Jul 7, 2024
1 parent 526ed45 commit 2269f42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ plugins {
`java-library`
`maven-publish`

id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
}

Expand Down Expand Up @@ -455,8 +455,8 @@ val release by tasks.creating(Task::class) {
}

afterEvaluate {
val closeAndReleaseSonatypeStagingRepository by tasks.getting
closeAndReleaseSonatypeStagingRepository.apply {
val closeAndReleaseStagingRepositories by tasks.getting
closeAndReleaseStagingRepositories.apply {
release.dependsOn(this)
mustRunAfter(publishingTasks)
}
Expand Down

0 comments on commit 2269f42

Please sign in to comment.