diff --git a/build.gradle b/build.gradle index 63465f4f..354e51dc 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,15 @@ 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}" @@ -127,6 +136,11 @@ processResources { exclude "${osName}/${osArch}/**" } } + filesMatching('**/about.fxml') { + filter { line -> + line.replace('', "