Fixed jar name generation

This commit is contained in:
Abdelilah El Aissaoui 2022-04-02 04:17:40 +02:00
parent 59a36fed08
commit 01e45f1c4d

View file

@ -1,5 +1,4 @@
import org.jetbrains.compose.compose import org.jetbrains.compose.compose
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.gradle.jvm.tasks.Jar import org.gradle.jvm.tasks.Jar
@ -13,7 +12,7 @@ plugins {
} }
val projectVersion = "0.1.0" val projectVersion = "0.1.0"
val name = "Gitnuro" val projectName = "Gitnuro"
group = "com.jetpackduba" group = "com.jetpackduba"
version = projectVersion version = projectVersion
@ -68,7 +67,7 @@ compose.desktop {
task("fatJar", type = Jar::class) { task("fatJar", type = Jar::class) {
archiveBaseName.set("$name-$projectVersion") archiveBaseName.set(projectName)
duplicatesStrategy = DuplicatesStrategy.EXCLUDE duplicatesStrategy = DuplicatesStrategy.EXCLUDE