That should be the case.
On Wednesday, February 3, 2016 at 5:04:31 AM UTC, Ahmad Ibrahim wrote:
>
> Does this also mean that ignored variants will not be present within
> Android Studio?
>
> On Tuesday, March 11, 2014 at 7:18:35 AM UTC-4, Diego Costantini wrote:
>>
>> Hi guys,
>> in latest plugin we can use variantFilter.
>>
>> I am not sure I am using it wrong or there is a bug.
>>
>> variantFilter { variant ->
>> flavor = variant.getDefaultConfig().
>> versionName
>> println "flavor $flavor"
>> type = variant.getBuildType().name
>> println "type $type"
>> if (flavor == "vanilla" && type == "release") {
>> variant.setIgnore(true)
>> }
>> }
>>
>> I am not sure I should use getDefaultconfig() because I always get
>> vanilla rather than each flavor.
>> Build types are looped correctly instead.
>>
>> 3 flavors and 3 types (I expect 9 couples but there are 8), this is the
>> output:
>> flavor vanilla
>> type debug
>>
>> flavor vanilla
>> type release
>>
>> flavor vanilla
>> type debugQA
>>
>> flavor vanilla
>> type debug
>>
>> flavor vanilla
>> type release
>>
>> flavor vanilla
>> type debugQA
>>
>> flavor vanilla
>> type debug
>>
>> flavor vanilla
>> type release
>>
>
> <http://appianworld.com>
> This message and any attachments are solely for the intended recipient. If
> you are not the intended recipient, disclosure, copying, use, or
> distribution of the information included in this message is prohibited --
> please immediately and permanently delete this message.
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.