From 9de4c4aefb30aeb66eb79fef824fce851f154f27 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 11 Sep 2019 09:57:04 +0100 Subject: [PATCH] Enable parallel builds by default Previously, all tasks in the build were run sequentially. This commit updates Gradle's properties to build them in parallel where possible. When using the daemon (recommended) its default max heap is not sufficient for the demands on a parallel build, therefore this commit also increases the daemon's max heap. See gh-23620 --- gradle.properties | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 92beb14b7a..edba8c4fc6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,4 @@ version=5.2.0.BUILD-SNAPSHOT -org.gradle.caching=false \ No newline at end of file +org.gradle.caching=false +org.gradle.parallel=true +org.gradle.jvmargs=-Xmx1536M