From 01e45f1c4de5b44301389a17bb9364be5a139dfd Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Sat, 2 Apr 2022 04:17:40 +0200 Subject: [PATCH] Fixed jar name generation --- build.gradle.kts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8d60bd9..062e3ee 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,4 @@ import org.jetbrains.compose.compose -import org.jetbrains.compose.desktop.application.dsl.TargetFormat import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.gradle.jvm.tasks.Jar @@ -13,7 +12,7 @@ plugins { } val projectVersion = "0.1.0" -val name = "Gitnuro" +val projectName = "Gitnuro" group = "com.jetpackduba" version = projectVersion @@ -68,7 +67,7 @@ compose.desktop { task("fatJar", type = Jar::class) { - archiveBaseName.set("$name-$projectVersion") + archiveBaseName.set(projectName) duplicatesStrategy = DuplicatesStrategy.EXCLUDE