Skip to content

Commit

Permalink
Added arch suffix in the fatJarLinux task
Browse files Browse the repository at this point in the history
  • Loading branch information
JetpackDuba committed Oct 30, 2023
1 parent ee872b3 commit 662e991
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,13 @@ compose.desktop {


task("fatJarLinux", type = Jar::class) {
val archSuffix = if (isLinuxAarch64) {
"arm_aarch64"
} else {
"x86_64"
}

archiveBaseName.set("$projectName-linux")

archiveBaseName.set("$projectName-linux-$archSuffix")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

manifest {
Expand Down

0 comments on commit 662e991

Please sign in to comment.