Disable non-Gplay flavor *GoogleServices* tasks

This commit is contained in:
Erik Huizinga 2021-06-18 17:23:10 +02:00
parent 22f3f612d7
commit cc5260b311
No known key found for this signature in database
GPG key ID: 9F1BAB5C9E522DC2

View file

@ -247,6 +247,9 @@ android {
productFlavors {
gplay {
apply plugin: 'com.google.gms.google-services'
afterEvaluate {
tasks.matching { it.name.contains("GoogleServices") && !it.name.contains("Gplay") }*.enabled = false
}
dimension "store"
isDefault = true