From 7d83b6d01e5d0746269d1d510ec98ca2e9f78063 Mon Sep 17 00:00:00 2001 From: Nigel Breslaw Date: Sat, 3 Feb 2024 16:53:32 +0100 Subject: [PATCH] Stop the gradle daemon from being spawned each run (#274) --- native_gg/android/gradle.properties | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/native_gg/android/gradle.properties b/native_gg/android/gradle.properties index 34b13ebb4..d4bb86a23 100644 --- a/native_gg/android/gradle.properties +++ b/native_gg/android/gradle.properties @@ -12,7 +12,8 @@ # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m -# Gradle will try to reuse outputs from previous builds for all builds, unless explicitly disabled with --no-build-cache. +# Gradle will try to reuse outputs from previous builds for all builds, +# unless explicitly disabled with --no-build-cache. org.gradle.caching=true # When configured, Gradle will run in incubating parallel mode. @@ -20,6 +21,10 @@ org.gradle.caching=true # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects org.gradle.parallel=true +# Disables the Gradle daemon which saves some time in CI where creating it is +# pointless as the free runners are thrown away after the build. +org.gradle.daemon=false + # 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