Skip to content

Commit

Permalink
Fix release task not creating any artefacts
Browse files Browse the repository at this point in the history
When the release plugin was upgraded, the configuration was not altered
to set a pre-release task needing executed, so no plugin JAR was being
created as part of the release step. The `assemble` task is now being
set to ensure the JAR exists in the relevant output directory for
dependent steps to pick up.

(cherry picked from commit 4aba3e1)
  • Loading branch information
mc1arke committed Jan 1, 2024
1 parent 2172ed7 commit a86b1e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ release {
requireBranch.set('')
commitVersionFileOnly.set(true)
}
buildTasks.set(["assemble"])
}

tasks.jar.configure {
Expand Down

0 comments on commit a86b1e6

Please sign in to comment.