This is something we are looking at enabling again after 2.1.

On Mon, Apr 18, 2016 at 1:46 AM, 潘志舟 <[email protected]> wrote:

> i also encountered,anyone has slove it? i want to add
> dx.additionalParameters to "--set-max-idx-number=***“
>
> 在 2015年11月17日星期二 UTC+8下午5:48:50,Ariel Cattan写道:
>>
>> Hi guys,
>>
>> Working with plugin 1.5.0 I'm trying to figure out how to set command
>> line parameters for the dx. I am aware of the dexOptions directive, but it
>> doesn't provide the full set of command line parameters available in dx.
>> In previous versions of the android plugin I was using the dex class and
>> doing something like this:
>>
>> if (dexTask.additionalParameters == null) dexTask.additionalParameters =
>> []
>> dexTask.additionalParameters += '--no-locals'
>>
>> However, in 1.5.0, even if I find the task
>> "transformClassesWithDexForDebug", there is no longer an
>> "additionalParameters" property on that task.
>> Is there another way to achieve that?
>>
>> Specifically we need to control the following options:
>> --no-locals
>> --minimal-main-dex
>>
>> Thanks!
>> Ariel
>>
> --
> 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.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
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.

Reply via email to