From 33fb2a38fcf7f1951b3c90316981dff36259b10d Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 8 Aug 2022 11:23:29 +0200 Subject: [PATCH] fix reproducibility issue by avoiding objcopy use during build, remove unnecessary java native commands from binaries --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a5e4c2f9..038fc280 100644 --- a/build.gradle +++ b/build.gradle @@ -177,7 +177,7 @@ jlink { uses 'org.eclipse.jetty.websocket.common.RemoteEndpointFactory' } - options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages', '--ignore-signing-information', '--exclude-files', '**.png', '--exclude-resources', 'glob:/com.sparrowwallet.merged.module/META-INF/*'] + options = ['--strip-native-commands', '--strip-java-debug-attributes', '--compress', '2', '--no-header-files', '--no-man-pages', '--ignore-signing-information', '--exclude-files', '**.png', '--exclude-resources', 'glob:/com.sparrowwallet.merged.module/META-INF/*'] launcher { name = 'sparrow' jvmArgs = ["--add-opens=javafx.graphics/com.sun.javafx.css=org.controlsfx.controls",