Dex: How to set dex.force.jumbo = true in Maven pom via android-maven-plugin?

I have a situation where I want to set jumbo mode dex to true in my Maven assembly. How can I set the equivalent of this:

dex.force.jumbo = true

using the android-maven-plugin plugin?

<plugin> <groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>android-maven-plugin</artifactId> <extensions>true</extensions> <configuration> .... <dex> <jvmArguments> <jvmArgument>-Xms1024m</jvmArgument> <jvmArgument>-Xmx2048m</jvmArgument> </jvmArguments> </dex> </configuration> </plugin> 
+4
source share
1 answer

Yes, it is not yet supported. But this will happen, possibly in 3.8.3: https://github.com/jayway/maven-android-plugin/pull/271

0
source

Source: https://habr.com/ru/post/1500989/


All Articles