diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index a10705510c..f7da7c19db 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -418,7 +418,7 @@ afterEvaluate { variant.javaCompiler.dependsOn cleanPrebuiltHuaweiDrm variant.preBuild.dependsOn cleanPrebuiltHuaweiDrm } - variant.javaCompiler.dependsOn(collectExternalResources, buildOsmAndCore, cleanupDuplicatesInCore) + variant.javaCompiler.dependsOn(downloadPrebuiltHuaweiDrm, collectExternalResources, buildOsmAndCore, cleanupDuplicatesInCore) } }