From b21ae6115d0dc353ad5db0d6396663ea2002c1a0 Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Thu, 31 Oct 2024 23:40:58 +0100 Subject: [PATCH 1/2] build: Remove `-plain` suffix from jar artifact --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 7b4426c8..913bb7d1 100644 --- a/build.gradle +++ b/build.gradle @@ -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) From 2de6a94fe1720ecf3af2352b565e1b829878dfce Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Fri, 1 Nov 2024 08:53:04 +0100 Subject: [PATCH 2/2] build: Remove unnecessary statement --- build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/build.gradle b/build.gradle index 913bb7d1..51994979 100644 --- a/build.gradle +++ b/build.gradle @@ -95,7 +95,6 @@ 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 }