4a7a0126f2
Daemon spawned via buildSrc compilation is incompatible with other compilations in Kotlin repo, as they use custom compiler classpath. To reduce memory consumption (especially on CI), idle autoshutdown timeout was reduced from default 2 hours to 30 seconds.
18 lines
860 B
Properties
18 lines
860 B
Properties
# Decreasing Kotlin Daemon autoshutdown timeout to 30 seconds
|
|
# Currently all other modules in Kotlin repo are using custom compiler classpath
|
|
# making daemon spawned in 'buildSrc' compilation incompatible with other compilations
|
|
org.gradle.jvmargs=-Duser.country=US -Dfile.encoding=UTF-8 -Dkotlin.daemon.options=autoshutdownIdleSeconds=30
|
|
# Should be the same as in the main project to avoid spawning second daemon
|
|
kotlin.daemon.jvmargs=-Xmx2200m
|
|
|
|
cacheRedirectorEnabled=true
|
|
|
|
#buildSrc.kotlin.repo=https://jcenter.bintray.com
|
|
#buildSrc.kotlin.version=1.1.50
|
|
|
|
kotlin.build.gradlePlugin.version=0.0.38
|
|
|
|
# Please keep it in sync with root gradle.properties.
|
|
# It's currently needed for proper configuration cache work, the reason will be investigated later
|
|
org.gradle.java.installations.fromEnv=JDK_16,JDK_17,JDK_18,JDK_9,JDK_10,JDK_11,JDK_15,JDK_16_0,JDK_17_0
|