Fix build.gradle (buildType)
This commit is contained in:
parent
b3bdd7cf04
commit
fb15b53f7e
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue