Skip to content

Commit

Permalink
Run gradle tasks in parallel. (stripe#5930)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynewstrom-stripe authored Dec 8, 2022
1 parent 063894e commit c5df0b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ POM_DEVELOPER_ID=stripe
POM_DEVELOPER_NAME=Stripe
POM_DEVELOPER_EMAIL=[email protected]

org.gradle.parallel=true
org.gradle.jvmargs=-XX\:MaxHeapSize\=2048m -Xmx4608M -XX:+UseParallelGC
android.useAndroidX=true
android.enableJetifier=false
Expand Down
2 changes: 1 addition & 1 deletion scripts/execute_task_for_changed_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:]]) ]]
Expand Down

0 comments on commit c5df0b4

Please sign in to comment.