The SDK location may like:
ndk.dir=/usr/local/opt/android-sdk/ndk-bundle
sdk.dir=/usr/local/opt/android-sdk
Set JVM options for gradle
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
Enable build in multi-thread
org.gradle.parallel=true
Enable daemon process of gradle
org.gradle.configureondemand=true
org.gradle.daemon=true