From 9f3c0f9de25b0ffd9852fc4ca5e405bd09650f4d Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 3 May 2015 19:44:37 +0200 Subject: [PATCH] Update gradle --- OsmAnd/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index 399a76dd59..5c7e963d8e 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -278,7 +278,11 @@ tasks.withType(JavaCompile) { compileTask -> compileTask.dependsOn << [collectExternalResources, buildOsmAndCore, cleanupDuplicatesInCore] } -clean.doLast{ +tasks.withType(clean) { + cleanTask -> cleanTask.dependsOn << [cleanNoTranslate] +} + +cleanNoTranslate { delete ('res/values/no_translate.xml') }