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:
committed by
Space Team
parent
088109a660
commit
a51ae33e4d
@@ -1,5 +1,5 @@
|
|||||||
org.gradle.jvmargs=-Duser.country=US
|
org.gradle.jvmargs=-Duser.country=US
|
||||||
# Should be the same as in the main project to avoid spawning second daemon
|
# Should be the same as in the root gradle.properties to avoid spawning second daemon
|
||||||
kotlin.daemon.jvmargs=-Xmx3g -Dkotlin.js.compiler.legacy.force_enabled=true
|
kotlin.daemon.jvmargs=-Xmx3g -Dkotlin.js.compiler.legacy.force_enabled=true
|
||||||
|
|
||||||
cacheRedirectorEnabled=true
|
cacheRedirectorEnabled=true
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
org.gradle.jvmargs=-Duser.country=US -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
|
||||||
|
|
||||||
|
#!!! 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
|
kotlin.daemon.jvmargs=-Xmx3g -Dkotlin.js.compiler.legacy.force_enabled=true
|
||||||
|
|
||||||
systemProp.file.encoding=UTF-8
|
systemProp.file.encoding=UTF-8
|
||||||
systemProp.user.country=US
|
systemProp.user.country=US
|
||||||
# Enable new incremental compiation
|
# Enable new incremental compiation
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
kotlin.build.gradlePlugin.version=0.0.39
|
kotlin.build.gradlePlugin.version=0.0.39
|
||||||
kotlin.options.suppressFreeCompilerArgsModificationWarning=true
|
kotlin.options.suppressFreeCompilerArgsModificationWarning=true
|
||||||
cacheRedirectorEnabled=true
|
cacheRedirectorEnabled=true
|
||||||
kotlin.daemon.jvmargs=-Dkotlin.js.compiler.legacy.force_enabled=true
|
# Should be the same as in the root gradle.properties to avoid spawning second daemon
|
||||||
|
kotlin.daemon.jvmargs=-Xmx3g -Dkotlin.js.compiler.legacy.force_enabled=true
|
||||||
Reference in New Issue
Block a user