From 35d203ed73dd46ba443babfb3b790fd7e4994e30 Mon Sep 17 00:00:00 2001 From: Niilyx _ <43385037+Niilyx@users.noreply.github.com> Date: Sun, 23 Jun 2024 02:10:39 +0200 Subject: [PATCH] corrected file naming problem with gradle that would yield "ECATUP.jar-1.2.1.jar" --- build.gradle | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 4de9166..dc07ba7 100644 --- a/build.gradle +++ b/build.gradle @@ -43,10 +43,8 @@ jar { from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } -} -configurations { - jar.archiveBaseName = rootProject.name + ".jar" + archiveFileName = rootProject.name + ".jar" } def targetJavaVersion = 17 @@ -79,10 +77,6 @@ task move(type: Copy) { into "SERVER_TEST/plugins/" } -configurations { - jar.archiveBaseName = rootProject.name + ".jar" -} - publishing { publications { maven(MavenPublication) {