This is not currently possible. We want to fix this. Do you need this per-variant?
On Tue, Nov 17, 2015 at 1:48 AM, Ariel Cattan <[email protected]> wrote: > 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.
