Setting property that controls application environment lifetime for daemon builds
Original commit: 376c188cf7
This commit is contained in:
@@ -136,6 +136,10 @@ public object KotlinCompilerRunner {
|
|||||||
val compilerId = CompilerId.makeCompilerId(File(libPath, "kotlin-compiler.jar"))
|
val compilerId = CompilerId.makeCompilerId(File(libPath, "kotlin-compiler.jar"))
|
||||||
val daemonOptions = configureDaemonOptions()
|
val daemonOptions = configureDaemonOptions()
|
||||||
val daemonJVMOptions = configureDaemonJVMOptions(true)
|
val daemonJVMOptions = configureDaemonJVMOptions(true)
|
||||||
|
// the property should be set by default for daemon builds to avoid parallel building problems
|
||||||
|
// but it cannot be currently set by default globally, because it seems breaks many tests
|
||||||
|
// TODO: find out how to get rid of the property and make it the default behavior
|
||||||
|
daemonJVMOptions.jvmParams.add("Dkotlin.environment.keepalive")
|
||||||
|
|
||||||
val daemonReportMessages = ArrayList<DaemonReportMessage>()
|
val daemonReportMessages = ArrayList<DaemonReportMessage>()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user