From b82a51bb57b98a990604ca48671f506192223a4e Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Tue, 1 Sep 2026 12:52:31 -0700 Subject: [PATCH] Enable gradle project isolation --- .github/ci-gradle.properties | 3 ++- gradle.properties | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/ci-gradle.properties b/.github/ci-gradle.properties index a9abe496ae..35fe3fea40 100644 --- a/.github/ci-gradle.properties +++ b/.github/ci-gradle.properties @@ -16,9 +16,10 @@ org.gradle.daemon=false org.gradle.parallel=true -org.gradle.workers.max=2 +org.gradle.workers.max=3 org.gradle.configuration-cache=true org.gradle.configuration-cache.parallel=true +org.gradle.isolated-projects=true kotlin.incremental=false diff --git a/gradle.properties b/gradle.properties index d933fc6cb8..026e0ce598 100644 --- a/gradle.properties +++ b/gradle.properties @@ -31,9 +31,6 @@ kotlin.daemon.jvmargs=-Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:SoftRefLRUPolicyMSP # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects org.gradle.parallel=true -# Not encouraged by Gradle and can produce weird results. Wait for isolated projects instead. -org.gradle.configureondemand=false - # Enable caching between builds. org.gradle.caching=true @@ -42,6 +39,9 @@ org.gradle.configuration-cache=true org.gradle.configuration-cache.parallel=true org.gradle.configuration-cache.problems=fail +# Enable isolated projects for parallel configuration. +org.gradle.isolated-projects=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