In gradle.properties
use the following:
org.gradle.parallel=true org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m
org.gradle.parallel especially useful if your project consists of several projects. Gradle will do the job in parallel creating these decoupled projects.
org.gradle.daemon No need to start the daemon after it starts. Rebuilding cuts "boot up". Thus, faster assembly time.
source share