refactor(build): Create a dedicated analytics convention plugin (#3961)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2025-12-10 22:47:25 -06:00 committed by GitHub
parent ce732203ae
commit fdff7315fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 78 additions and 20 deletions

View file

@ -140,13 +140,6 @@ 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" }
}