Build: Include platform in filename of fat jar

Rename resulting fat jar in such a way that it includes the platform on
which it was built.
This commit is contained in:
cd2357 2021-05-20 20:38:52 +02:00
parent 85fe297128
commit 12f074103a
No known key found for this signature in database
GPG Key ID: F26C56748514D0D3

View File

@ -465,6 +465,8 @@ task packageInstallers {
copy {
from "${fatJarFolderPath}/${mainJarName}"
into binariesFolderPath
// desktop-1.6.4-SNAPSHOT-all.jar => desktop-1.6.4-SNAPSHOT-all-mac.jar (or -win.jar, or -linux.jar)
rename { String fileName -> fileName.replace('-all.jar', "-all-" + os + ".jar") }
}
// Env variable can be set by calling "export BISQ_SHARED_FOLDER='Some value'"