Disable non-Gplay flavor *GoogleServices* tasks
This commit is contained in:
parent
22f3f612d7
commit
cc5260b311
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue