Get rid of kotlinx.coroutines usage in saved script runner

to reduce dpendencies for the save dscipt running
This commit is contained in:
Ilya Chernikov
2020-01-16 11:59:24 +01:00
parent 891914167a
commit a4752087db
2 changed files with 43 additions and 7 deletions
@@ -58,7 +58,7 @@ fun KJvmCompiledScript<*>.saveToJar(outputJar: File) {
?.flatMap { it.classpath }
.orEmpty()
val dependenciesForMain = scriptCompilationClasspathFromContext(
KotlinPaths.Jar.ScriptingLib.baseName, KotlinPaths.Jar.ScriptingJvmLib.baseName, KotlinPaths.Jar.CoroutinesCore.baseName,
KotlinPaths.Jar.ScriptingLib.baseName, KotlinPaths.Jar.ScriptingJvmLib.baseName,
classLoader = this::class.java.classLoader,
wholeClasspath = false
)