from memory, it's something like that :

 variantFilter {
   if (it.buildType.name.equals("debug") &&
      it.getFlavors().get(0).name.equals("flavor1")) {
        it.ignore = true
      }
 }

On Fri, Mar 6, 2015 at 5:45 AM thierryd <thier...@gmail.com> wrote:

> I seem to recall reading in the Android Gradle doc a way to setup the
> buildType and productFlavors so I can specify that certain combination are
> invalid. For example "debug" buildType and "paidApp" as the productFlavors
> is not a valid variant. But I can't seem to find that information anymore.
> Can someone help me?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adt-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to