diff --git a/gradle.properties b/gradle.properties index 9e8d00ac..b1ca82e3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -49,6 +49,12 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled # See https://kotlinlang.org/docs/js-project-setup.html#npm-dependencies kotlin.js.yarn=false +# Accept TeamCity messages larger than 1MB +# By default, KGP fails test suites if the test logs are too large. +# Some of our projects are large enough that this becomes a problem. +# We are not aware of downsides nor of documentation of this flag. +kotlin.ignore.tcsm.overflow=true + # System resource usage org.gradle.jvmargs=-Xmx4g -Xms200m -XX:MaxMetaspaceSize=640m -XX:+UseCompressedOops -XX:+UseG1GC -XX:NewRatio=3 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:G1PeriodicGCInterval=60000 -XX:-G1PeriodicGCInvokesConcurrent kotlin.daemon.jvmargs=-Xmx3g -Xms128m -XX:MaxMetaspaceSize=512m -XX:+UseG1GC -XX:NewRatio=2 -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=40 -XX:G1PeriodicGCInterval=15000 -XX:-G1PeriodicGCInvokesConcurrent