From f54ed462b1028c1412a5dc37c83b65b74791f5fc Mon Sep 17 00:00:00 2001 From: Tomas Kracmar Date: Wed, 27 Mar 2024 16:28:52 +0100 Subject: [PATCH] Update shadowJar to new config format --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 5b8eef0..6d51d4b 100644 --- a/build.gradle +++ b/build.gradle @@ -78,7 +78,7 @@ buildscript { } dependencies { - classpath 'com.github.jengelman.gradle.plugins:shadow:6.1.0' + classpath 'com.github.johnrengelman:shadow:8.1.1' classpath 'com.github.ben-manes:gradle-versions-plugin:0.51.0' } } @@ -172,9 +172,9 @@ jar { } shadowJar { - baseName = project.name - classifier = null - version = null + archiveBaseName.set(project.name) + archiveClassifier.set('') // Set to an empty string if you don't need a classifier. + archiveVersion.set('') // Set to an empty string if you don't want the version in the jar name. } task debBuild(dependsOn: shadowJar) {