Try to fix build

This commit is contained in:
max-klaus 2019-09-11 21:11:40 +03:00
parent e5fe021204
commit e4f57190bc

View file

@ -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)
}
}