From 192657fa698f18410270dbbe83f0a81f62e33a41 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 21 Jul 2022 15:55:25 +0200 Subject: [PATCH] revert commit hash in about dialog --- build.gradle | 19 ------------------- .../com/sparrowwallet/sparrow/about.css | 4 ---- .../com/sparrowwallet/sparrow/about.fxml | 2 -- 3 files changed, 25 deletions(-) diff --git a/build.gradle b/build.gradle index 5eb11045..63465f4f 100644 --- a/build.gradle +++ b/build.gradle @@ -18,15 +18,6 @@ if(System.getProperty("os.arch") == "aarch64") { targetName = "-" + osArch } -def getCommitHash = { -> - def stdout = new ByteArrayOutputStream() - exec { - commandLine 'git', 'rev-parse', '--short', 'HEAD' - standardOutput = stdout - } - return stdout.toString().trim() -} - group "com.sparrowwallet" version "${sparrowVersion}" @@ -131,21 +122,11 @@ compileJava { } processResources { - doFirst { - delete fileTree("$buildDir/resources/main/com/sparrowwallet/sparrow") { - include "about.fxml" - } - } doLast { delete fileTree("$buildDir/resources/main/native").matching { exclude "${osName}/${osArch}/**" } } - filesMatching('**/about.fxml') { - filter { line -> - line.replace('', "