Fix build.gradle (buildType)

This commit is contained in:
max-klaus 2020-10-04 20:17:19 +03:00
parent b3bdd7cf04
commit fb15b53f7e

View file

@ -225,10 +225,11 @@ android {
signingConfig signingConfigs.development
}
release {
productFlavors.all { flavor ->
flavor.signingConfig signingConfigs.publishing
if (gradle.startParameter.taskNames.toString().contains("huawei")) {
signingConfig signingConfigs.publishingHuawei
} else {
signingConfig signingConfigs.publishing
}
productFlavors.freehuawei.signingConfig signingConfigs.publishingHuawei
}
}