title: jvmargs=-xmx2048m dex in process for cordova
body: <p>cordova build tells me the following</p>
  
  <blockquote>
    <p>To run dex in process, the Gradle daemon needs a larger heap. It
    currently has approximately 910 MB. For faster builds, increase the
    maximum heap size for the Gradle daemon to more than 2048 MB. To do
    this set org.gradle.jvmargs=-Xmx2048M in the project
    gradle.properties. For more information see
    <a href="https://docs.gradle.org/current/userguide/build_environment.html" rel="nofollow">https://docs.gradle.org/current/userguide/build_environment.html</a></p>
  </blockquote>
  
  <p>how can I set the jvmargs to -xmx2084M in cordova? Is it possible through config.xml or do I have to use hooks?</p>
  
  <p>Cheers &amp; Thanks</p>
  
  <p>Qiong</p>