From b03fa1ea5d523c5de7cf261c89a411e459238a00 Mon Sep 17 00:00:00 2001 From: eranl <1707552+eranl@users.noreply.github.com> Date: Sun, 9 Mar 2025 02:01:18 +0200 Subject: [PATCH] Implemented two optimizations suggested by Android Studio, which seem to make a significant difference in debug build time --- app/build.gradle.kts | 2 +- gradle.properties | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 30956503..25dac11c 100755 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -36,7 +36,7 @@ android { isJniDebuggable = false } debug { - isMinifyEnabled = true + isMinifyEnabled = false isJniDebuggable = false applicationIdSuffix = ".debug" } diff --git a/gradle.properties b/gradle.properties index 0a59d79e..11b104c2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,3 @@ android.useAndroidX=true -org.gradle.jvmargs=-Xmx1024m \ No newline at end of file +org.gradle.configuration-cache=true +org.gradle.jvmargs=-Xmx1024m