From 784ca0df66ba1d5a35f36ced343045b1ece9fa96 Mon Sep 17 00:00:00 2001 From: max-klaus Date: Wed, 11 Sep 2019 21:11:40 +0300 Subject: [PATCH] Try to fix build --- OsmAnd/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index 75acb83563..3b1666adda 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -410,8 +410,6 @@ task cleanupDuplicatesInCore() { } afterEvaluate { android.applicationVariants.all { variant -> - variant.javaCompiler.dependsOn(collectExternalResources, buildOsmAndCore, cleanupDuplicatesInCore) - // Use Drm strings only for huawei flavor if ("huawei" == variant.productFlavors[0].name) { variant.javaCompiler.dependsOn downloadPrebuiltHuaweiDrm @@ -420,6 +418,7 @@ afterEvaluate { variant.javaCompiler.dependsOn cleanPrebuiltHuaweiDrm variant.preBuild.dependsOn cleanPrebuiltHuaweiDrm } + variant.javaCompiler.dependsOn(collectExternalResources, buildOsmAndCore, cleanupDuplicatesInCore) } }