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 signingConfig signingConfigs.development
} }
release { release {
productFlavors.all { flavor -> if (gradle.startParameter.taskNames.toString().contains("huawei")) {
flavor.signingConfig signingConfigs.publishing signingConfig signingConfigs.publishingHuawei
} else {
signingConfig signingConfigs.publishing
} }
productFlavors.freehuawei.signingConfig signingConfigs.publishingHuawei
} }
} }