Reduce build variants

pull/214/head
M66B 1 year ago
parent 84cd61453b
commit 1d58b1c85f

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

Loading…
Cancel
Save