From c5c606924cad5f187974722826dfc5eb910b791f Mon Sep 17 00:00:00 2001 From: Yahor Berdnikau Date: Tue, 14 Dec 2021 16:27:36 +0100 Subject: [PATCH] Move Kotlin daemon jvm args to kotlin.daemon.jvmargs property --- buildSrc/gradle.properties | 3 ++- gradle.properties | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buildSrc/gradle.properties b/buildSrc/gradle.properties index ad3f0f62fb7..5390fe0acf3 100644 --- a/buildSrc/gradle.properties +++ b/buildSrc/gradle.properties @@ -1,4 +1,5 @@ -org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx1600m -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Duser.country=US -Dfile.encoding=UTF-8 +kotlin.daemon.jvmargs=-Xmx2200m # Should be the same as in the main project to avoid spawning second daemon cacheRedirectorEnabled=true diff --git a/gradle.properties b/gradle.properties index 48b9e33f509..4ee31f711d4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,5 @@ -org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx2200m -Dfile.encoding=UTF-8 -Dorg.gradle.internal.publish.checksums.insecure=true +org.gradle.jvmargs=-Duser.country=US -Dfile.encoding=UTF-8 -Dorg.gradle.internal.publish.checksums.insecure=true +kotlin.daemon.jvmargs=-Xmx2200m org.gradle.parallel=true org.gradle.caching=true