Disable non-Gplay flavor *GoogleServices* tasks
This commit is contained in:
parent
22f3f612d7
commit
cc5260b311
|
@ -247,6 +247,9 @@ android {
|
||||||
productFlavors {
|
productFlavors {
|
||||||
gplay {
|
gplay {
|
||||||
apply plugin: 'com.google.gms.google-services'
|
apply plugin: 'com.google.gms.google-services'
|
||||||
|
afterEvaluate {
|
||||||
|
tasks.matching { it.name.contains("GoogleServices") && !it.name.contains("Gplay") }*.enabled = false
|
||||||
|
}
|
||||||
|
|
||||||
dimension "store"
|
dimension "store"
|
||||||
isDefault = true
|
isDefault = true
|
||||||
|
|
Loading…
Reference in New Issue