Merge pull request #1987 from jmakovicka/gradle-file-fix
Avoid dependency on current working dir
This commit is contained in:
commit
b2b941fabe
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ task updateNoTranslate(type: Copy) {
|
|||
task validateTranslate {
|
||||
println "Validating translations"
|
||||
|
||||
new java.io.File("res").eachFileRecurse groovy.io.FileType.FILES, {
|
||||
file("res").eachFileRecurse groovy.io.FileType.FILES, {
|
||||
if (it.name == "strings.xml" || it.name == "phrases.xml") {
|
||||
it.eachLine { line ->
|
||||
if (line.contains("\$ s") || line.contains("\$ d") || line.contains("\$ f") ||
|
||||
|
|
Loading…
Reference in a new issue