Skip to content

Commit

Permalink
Fix task order when releasing to Nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Feb 14, 2024
1 parent de6d21d commit 85ccb4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ class SonatypePlugin : Plugin<Project> {
addParentPublishToNexusTasks()

disallowPublishTasks()

tasks.named("closeRepository") {
mustRunAfter("publishToNexus")
}
}
}

Expand Down

0 comments on commit 85ccb4b

Please sign in to comment.