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.
  • Loading branch information
mc1arke committed Jan 1, 2024
1 parent 56c109d commit 4aba3e1
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 4aba3e1

Please sign in to comment.