Update build.gradle

Fix build
This commit is contained in:
vshcherb 2015-11-27 09:40:04 +01:00
parent a8868fcab5
commit 8bb658373f

View file

@ -189,7 +189,7 @@ task updateNoTranslate(type: Copy) {
task validateTranslate { task validateTranslate {
println "Validating translations" println "Validating translations"
new java.io.File("OsmAnd/res").eachFileRecurse groovy.io.FileType.FILES, { new java.io.File("res").eachFileRecurse groovy.io.FileType.FILES, {
if (it.name == "strings.xml" || it.name == "phrases.xml") { if (it.name == "strings.xml" || it.name == "phrases.xml") {
it.eachLine { line -> it.eachLine { line ->
if (line.contains("\$ s") || line.contains("\$ d") || line.contains("\$ f") || if (line.contains("\$ s") || line.contains("\$ d") || line.contains("\$ f") ||