From 2f747cb56b91831ff422dc8f18dd7ee6bc005f2e Mon Sep 17 00:00:00 2001 From: hongdongni <2607159984@qq.com> Date: Tue, 8 Feb 2022 22:32:13 +0800 Subject: [PATCH] Improve GRADLE build Performance --- .travis.yml | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e2873834..f52084f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,4 +42,4 @@ before_cache: cache: directories: - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ + - $HOME/.gradle/wrapper/ \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 71a65f3d..685b7fbc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -33,7 +33,7 @@ # org.gradle.parallel=true org.gradle.daemon=true org.gradle.parallel=true -org.gradle.configureondemand=false +org.gradle.configureondemand=true org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=4096m -XX:+HeapDumpOnOutOfMemoryError android.injected.build.model.only.versioned=3