Skip to content

Commit

Permalink
build: Remove -plain suffix from jar artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Oct 31, 2024
1 parent 79b6e01 commit b21ae61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,12 @@ tasks.register('apiDocs', Copy) {
into file("${buildDir}/asciidoc/api")
}

tasks.named('bootJar') {
enabled = false // Plugins should not create a bootJar
}
tasks.named('jar', Jar) {
enabled = true // Enable the jar task again, as the bootJar task has been disabled
archiveClassifier = '' // Remove '-plain' suffix from jar file name
}

asciidoctor.dependsOn(apiDocs)

0 comments on commit b21ae61

Please sign in to comment.