Build: Add -Xmx3g to kotlin.daemon.jvmargs in settings-conventions

To avoid spawning multiple daemons `kotlin.daemon.jvmargs` should be
the same as root gradle.properties and buildSrc
 #KTI-1142
This commit is contained in:
Vyacheslav Gerasimov
2023-03-01 10:29:30 +01:00
committed by Space Team
parent 088109a660
commit a51ae33e4d
3 changed files with 6 additions and 2 deletions
+3
View File
@@ -1,5 +1,8 @@
org.gradle.jvmargs=-Duser.country=US -Dfile.encoding=UTF-8 -Dorg.gradle.internal.publish.checksums.insecure=true
#!!! It should be uniform across the project to avoid multiple daemons spawning during the build, which often leads to OOM on build server
kotlin.daemon.jvmargs=-Xmx3g -Dkotlin.js.compiler.legacy.force_enabled=true
systemProp.file.encoding=UTF-8
systemProp.user.country=US
# Enable new incremental compiation