diff --git a/gradle.properties b/gradle.properties index 23339e0d..1bc5f40f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx1536m +org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects @@ -19,3 +19,19 @@ android.useAndroidX=true android.enableJetifier=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official + +# Enable Gradle Daemon +org.gradle.daemon=true + +# Enable Configure on demand +org.gradle.configureondemand=true + +# Enable parallel builds +org.gradle.parallel=true + +# Enable Build Cache +android.enableBuildCache=true + +# Enable simple gradle caching +org.gradle.caching=true +