title: How to increase maximum heap size for the Gradle daemon?
body: <p>When signing an apk, I got this message:</p>
  <pre><code>To run dex in process, the Gradle daemon needs a larger heap.
  It currently has 1024 MB.
  For faster builds, increase the maximum heap size for the Gradle daemon to at least 4608 MB (based on the dexOptions.javaMaxHeapSize = 4g).
  To do this set org.gradle.jvmargs=-Xmx4608M in the project gradle.properties.
  For more information see https://docs.gradle.org/current/userguide/build_environment.html
  </code></pre>
  <p>In my project, I don't have a gradle.properties file, but I have a file called gradle-wrapper.properties.</p>
  <p>I opened that file and added the line <code>org.gradle.jvmargs=-Xmx4608M</code>.</p>
  <p>After that, I tried to sign the apk again but I'm still getting the message of increasing Gradle heap size.</p>
  <p>How to achieve that?</p>