Dex:如何通过android-maven-plugin在Maven pom中设置dex.force.jumbo = true?

时间:2022-09-30 17:14:27

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:

我有一种情况,我想在我的Maven构建中将dex force jumbo模式设置为true。我该如何设置相当于:

dex.force.jumbo=true

dex.force.jumbo =真

using the android-maven-plugin plugin?

使用android-maven-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>

1 个解决方案

#1


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

是的,它尚不支持。但它即将到来,可能在3.8.3:https://github.com/jayway/maven-android-plugin/pull/271

#1


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

是的,它尚不支持。但它即将到来,可能在3.8.3:https://github.com/jayway/maven-android-plugin/pull/271