Permalink
Browse files

Fix gradle warning about deprecated <<

  • Loading branch information...
1 parent 9239c45 commit a8a8ded3ec9bc2cc21de8d1bc06ea11cd4eeef85 @kaklakariada committed Jan 5, 2017
Showing with 6 additions and 4 deletions.
  1. +6 −4 build.gradle
View
@@ -31,10 +31,12 @@ processResources {
rename(/(\w+)_en.properties/, '$1.properties')
}
-task replaceVersionTokenInTranslations << {
- ant.replace(dir: 'build/resources/main', encoding: 'ISO-8859-1') {
- include(name: '**/*.properties')
- replacefilter(token: '@VERSION_NUMBER@', value: project.version)
+task replaceVersionTokenInTranslations {
+ doLast {
+ ant.replace(dir: 'build/resources/main', encoding: 'ISO-8859-1') {
+ include(name: '**/*.properties')
+ replacefilter(token: '@VERSION_NUMBER@', value: project.version)
+ }
}
}

0 comments on commit a8a8ded

Please sign in to comment.