4

I have a situation where I want to set dex force jumbo mode to true in my Maven build. 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>
Snicolas
  • 37,840
  • 15
  • 114
  • 173
Richard Guion
  • 427
  • 5
  • 14
  • After looking at the source for DexMojo, I don't see any option for jumbo mode. https://github.com/jayway/maven-android-plugin/blob/master/src/main/java/com/jayway/maven/plugins/android/phase08preparepackage/DexMojo.java – Richard Guion Sep 06 '13 at 21:03

1 Answers1

0

Yes it ain't supported yet. But it's coming, maybe in 3.8.3 : https://github.com/jayway/maven-android-plugin/pull/271

Snicolas
  • 37,840
  • 15
  • 114
  • 173