Added arch suffix in the fatJarLinux task
This commit is contained in:
parent
ee872b384e
commit
662e99188d
@ -143,9 +143,13 @@ compose.desktop {
|
|||||||
|
|
||||||
|
|
||||||
task("fatJarLinux", type = Jar::class) {
|
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
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
|
Loading…
Reference in New Issue
Block a user