Switch to the newer gradle plugin, fix jansi problem, in-process compiling in gradle parts

Switching to in-process to avoid compilation warnings caused by introduced
daemon interface changes.
Switching to the gradle plugin 1.1.3 causes jansi incompatibility in
in-process compilation mode, so disabling jansi usage to avoid it.
This commit is contained in:
Ilya Chernikov
2017-07-10 18:54:53 +02:00
parent 0ca5c0fcc6
commit 3da5ba4efe
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -30,6 +30,11 @@ ext.configureJvmProject = { Project project ->
tasks.withType(project.compileKotlin.class) {
kotlinOptions.jdkHome = JDK_16
doFirst {
System.setProperty("kotlin.colors.enabled", "false")
// TODO: fix daemon compatibility (if possible) and remove in-process compilation here
System.setProperty("kotlin.compiler.execution.strategy", "in-process")
}
}
test {