MINOR: Build modules in parallel (#9975)

- According to https://docs.gradle.org/current/userguide/performance.html#parallel_execution,
gradle executes builds serially by default.
- With this change, the build performance is significantly better (~2x) on multi-core machines

The time to run the following command went from 7m20s to 3m34s on one machine:

`clean install assemble spotlessScalaCheck checkstyleMain checkstyleTest spotbugsMain`

Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
Alok Nikhil 2021-01-28 07:24:35 -08:00 committed by GitHub
parent 550d8b8260
commit 61431f5b43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -24,3 +24,4 @@ version=2.8.0-SNAPSHOT
scalaVersion=2.13.4
task=build
org.gradle.jvmargs=-Xmx2g -Xss4m -XX:+UseParallelGC
org.gradle.parallel=true