From 665b7cfd890d189dd8744ddc4ae25d823cc16318 Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Fri, 1 Nov 2024 08:48:21 +0100 Subject: [PATCH] build: Remove `-plain` suffix from plugin jar artifact --- grails-plugin/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/grails-plugin/build.gradle b/grails-plugin/build.gradle index c46bcf4fd..7299f19f2 100644 --- a/grails-plugin/build.gradle +++ b/grails-plugin/build.gradle @@ -53,3 +53,10 @@ dependencies { } groovydoc.classpath += configurations.documentation + +tasks.named('bootJar') { + enabled = false // Plugins should not create a bootJar +} +tasks.named('jar', Jar) { + archiveClassifier = '' // Remove '-plain' suffix from jar file name +} \ No newline at end of file