Skip to content

Commit

Permalink
Fix crash caused by gradle ReplaceTokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Aug 5, 2019
1 parent f7b7767 commit e80f2af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cracker_version = 1.4.1
cracker_version = 1.4.2

0 comments on commit e80f2af

Please sign in to comment.