Fix runtime compatibility with the obsolete script jvm eval config options...

also switch mainKtsTest to the mew option
This commit is contained in:
Ilya Chernikov
2019-04-18 13:01:50 +02:00
parent 00c3550191
commit 9900ac2462
2 changed files with 9 additions and 6 deletions
@@ -13,9 +13,9 @@ import java.io.PrintStream
import kotlin.script.experimental.api.*
import kotlin.script.experimental.host.toScriptSource
import kotlin.script.experimental.jvmhost.BasicJvmScriptingHost
import kotlin.script.experimental.jvmhost.baseClassLoader
import kotlin.script.experimental.jvmhost.createJvmCompilationConfigurationFromTemplate
import kotlin.script.experimental.jvmhost.jvm
import kotlin.script.experimental.jvm.baseClassLoader
import kotlin.script.experimental.jvm.jvm
fun evalFile(scriptFile: File): ResultWithDiagnostics<EvaluationResult> {