diff --git a/README.md b/README.md index 17b3d085c6d5fc57c2a58cf95378128c17f68a30..13b0770c10d500b89232e0a85cefec4b8d29561f 100644 --- a/README.md +++ b/README.md @@ -90,10 +90,14 @@ any hardware supporting Java (e.g. unix server, raspberry pi) could be added. ## Server CLI version -A fat JAR for running on a GNU/Linux server can be compiled with +A fat JAR for running on a x86_64 GNU/Linux server can be compiled with ./gradlew x86LinuxJar +And also ARM64 with + + ./gradlew aarch64LinuxJar + ## Donate [](https://liberapay.com/Briar/donate) [](https://flattr.com/t/592836/) Bitcoin and BCH: 1NZCKkUCtJV2U2Y9hDb9uq8S7ksFCFGR6K diff --git a/mailbox-cli/build.gradle b/mailbox-cli/build.gradle index 41668ab18e5746dd9e438ace3d6ab4a56004771f..cde3040d95a2969a154c9c2ce7bdb8a91158519b 100644 --- a/mailbox-cli/build.gradle +++ b/mailbox-cli/build.gradle @@ -109,7 +109,7 @@ void jarFactory(Jar jarTask, os, architecture, configuration) { destStream.close() srcJarFile.close() println 'Building ' + jarArchitecture + ' version has finished' - println 'JAR: mailbox-cli/build/libs/mailbox-cli-linux-x86_64.jar' + println 'JAR: mailbox-cli/build/libs/mailbox-cli-' + jarArchitecture + '.jar' } } @@ -119,6 +119,12 @@ task x86LinuxJar(type: Jar) { jarFactory(it, 'linux', 'x86_64', configurations.runtimeClasspath) } +task aarch64LinuxJar(type: Jar) { + group = "Build" + description = "Assembles a runnable fat jar for AArch64 Linux" + jarFactory(it, 'linux', 'aarch64', configurations.runtimeClasspath) +} + tasks.withType(Test) { systemProperty 'java.library.path', 'libs' }