Reduce build variants

This commit is contained in:
M66B 2023-12-09 12:42:04 +01:00
parent 84cd61453b
commit 1d58b1c85f
1 changed files with 5 additions and 1 deletions

View File

@ -290,6 +290,7 @@ android {
buildConfigField "String", "OPENAI_ENDPOINT", "\"\""
buildConfigField "String", "OPENAI_PRIVACY", "\"\""
buildConfigField "String", "FDROID", "\"\""
getIsDefault().set(true)
}
amazon {
dimension "all"
@ -321,7 +322,10 @@ android {
// Builds: release, debug
// Flavors: github, large, fdroid, play
if (variant.buildType.name == "debug" &&
(flavors.contains("fdroid") || flavors.contains("play") || flavors.contains("_amazon"))) {
(flavors.contains("amazon") ||
flavors.contains("fdroid") ||
flavors.contains("large") ||
flavors.contains("play"))) {
setIgnore(true)
}
}