Fix hw build (drop hw sdk config writing)

This commit is contained in:
max-klaus 2020-10-06 15:51:24 +03:00
parent b7e04acb7f
commit aea3959a7e

View file

@ -288,14 +288,6 @@ task downloadWorldMiniBasemap {
}
}
task setupHuaweiConfig {
doLast {
if (System.getenv("HUAWEI_SDK_JSON")) {
file("agconnect-services.json").text = System.getenv("HUAWEI_SDK_JSON")
}
}
}
task collectVoiceAssets(type: Sync) {
from "../../resources/voice"
into "assets/voice"
@ -422,11 +414,6 @@ task collectExternalResources {
copyWidgetIconsXhdpi,
copyPoiCategories,
downloadWorldMiniBasemap
String tskReqStr = gradle.startParameter.taskNames.toString()
if (tskReqStr.contains("huawei")) {
dependsOn setupHuaweiConfig
}
}
// Legacy core build