Fix google build (#3371)

This commit is contained in:
Phil Oliver 2025-10-07 06:22:32 -04:00 committed by GitHub
parent ef0ac5220d
commit 7287ebbf49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,6 +140,13 @@ android {
// Configure existing product flavors (defined by convention plugin)
// with their dynamic version names.
productFlavors {
all {
if (name == "google") {
apply(plugin = libs.plugins.google.services.get().pluginId)
apply(plugin = libs.plugins.firebase.crashlytics.get().pluginId)
}
}
named("google") { versionName = "${defaultConfig.versionName} (${defaultConfig.versionCode}) google" }
named("fdroid") { versionName = "${defaultConfig.versionName} (${defaultConfig.versionCode}) fdroid" }
}