Try to fix build
This commit is contained in:
parent
d2ea48e468
commit
784ca0df66
1 changed files with 1 additions and 2 deletions
|
@ -410,8 +410,6 @@ task cleanupDuplicatesInCore() {
|
||||||
}
|
}
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
android.applicationVariants.all { variant ->
|
android.applicationVariants.all { variant ->
|
||||||
variant.javaCompiler.dependsOn(collectExternalResources, buildOsmAndCore, cleanupDuplicatesInCore)
|
|
||||||
|
|
||||||
// Use Drm strings only for huawei flavor
|
// Use Drm strings only for huawei flavor
|
||||||
if ("huawei" == variant.productFlavors[0].name) {
|
if ("huawei" == variant.productFlavors[0].name) {
|
||||||
variant.javaCompiler.dependsOn downloadPrebuiltHuaweiDrm
|
variant.javaCompiler.dependsOn downloadPrebuiltHuaweiDrm
|
||||||
|
@ -420,6 +418,7 @@ afterEvaluate {
|
||||||
variant.javaCompiler.dependsOn cleanPrebuiltHuaweiDrm
|
variant.javaCompiler.dependsOn cleanPrebuiltHuaweiDrm
|
||||||
variant.preBuild.dependsOn cleanPrebuiltHuaweiDrm
|
variant.preBuild.dependsOn cleanPrebuiltHuaweiDrm
|
||||||
}
|
}
|
||||||
|
variant.javaCompiler.dependsOn(collectExternalResources, buildOsmAndCore, cleanupDuplicatesInCore)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue