Add org.gradle.workers.max to gradle.properties (#1366)

This commit is contained in:
Trask Stalnaker 2020-10-11 11:24:23 -07:00 committed by GitHub
parent 59784a5b77
commit ffe9083861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
org.gradle.parallel=true
org.gradle.caching=true
# limiting the number of parallel workers helps to keep your machine responsive during builds
# see https://github.com/gradle/gradle/issues/14224
org.gradle.workers.max=2
# Gradle default is 256m which causes issues with our build - https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m