diff --git a/gradle.properties b/gradle.properties index 712d0faf298..d53f16e9ec9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,6 +11,7 @@ POM_DEVELOPER_ID=stripe POM_DEVELOPER_NAME=Stripe POM_DEVELOPER_EMAIL=support+android@stripe.com +org.gradle.parallel=true org.gradle.jvmargs=-XX\:MaxHeapSize\=2048m -Xmx4608M -XX:+UseParallelGC android.useAndroidX=true android.enableJetifier=false diff --git a/scripts/execute_task_for_changed_modules.sh b/scripts/execute_task_for_changed_modules.sh index 557af16cbf8..9c0299bbcb5 100644 --- a/scripts/execute_task_for_changed_modules.sh +++ b/scripts/execute_task_for_changed_modules.sh @@ -26,7 +26,7 @@ isTestableModule() { } # Files or directories that trigger all modules to run if changed -CRITICAL_DEPS="build.gradle settings.gradle dependencies.gradle" +CRITICAL_DEPS="build.gradle settings.gradle dependencies.gradle gradle.properties" # a function to check if a file/dir is in CRITICAL_DEPS isCriticalDeps() { [[ $CRITICAL_DEPS =~ (^|[[:space:]])$1($|[[:space:]]) ]]