1

I define a variable in order to add different plugins to project, but it seems not working at all.

    variantFilter { variant ->
        def names = variant.flavors*.name
        println names

        if (names.contains("someFlavor")) {
            google_service = false
        }else{
            google_service = true
        }
    }
Dilnar
  • 59
  • 2

0 Answers0