From e80f2afaceaf3cbe9744016e4efb3545bca85f60 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 5 Aug 2019 12:58:53 +0100 Subject: [PATCH] Fix crash caused by gradle ReplaceTokens --- build.gradle | 5 ++++- gradle.properties | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index aad2d22..eaaa092 100644 --- a/build.gradle +++ b/build.gradle @@ -22,5 +22,8 @@ distributions { import org.apache.tools.ant.filters.ReplaceTokens processResources { - filter(ReplaceTokens, tokens: [VERSION: project.cracker_version]) + inputs.property('cracker_version', project.cracker_version) + filesNotMatching(['**/*.png', '**/*.ttf']) { + it.filter(ReplaceTokens, tokens: [VERSION: project.cracker_version]) + } } diff --git a/gradle.properties b/gradle.properties index 4142714..fae972d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -cracker_version = 1.4.1 +cracker_version = 1.4.2