From c2ca91210e9c7ddbabfcbf7dcb66522cee5e11da Mon Sep 17 00:00:00 2001 From: ganfra Date: Tue, 24 Jan 2023 17:39:15 +0100 Subject: [PATCH] Gradle config: add some config to make it faster. --- gradle.properties | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 0585362237..6902acf2bd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,10 +23,7 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx2048m -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 -# org.gradle.parallel=true + # AndroidX package structure to make it clearer which packages are bundled with the # Android operating system, and which are packaged with your app"s APK # https://developer.android.com/topic/libraries/support-library/androidx-rn @@ -37,6 +34,11 @@ kotlin.code.style=official # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true + +org.gradle.caching=true +org.gradle.configureondemand=true +org.gradle.parallel=true + # Dummy values for signing secrets / nightly signing.element.nightly.storePassword=Secret signing.element.nightly.keyId=Secret