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
|
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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue