org.gradle.jvmargs=-Xmx4608m -XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
https://stackoverflow.com/questions/35224255/to-run-dex-in-process-the-gradle-daemon-needs-a-larger-heap-it-currently-has-9
dexOptions {
preDexLibraries true
javaMaxHeapSize “3g”
incremental true
dexInProcess = true
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}