Move daemon jar from compiler
This commit is contained in:
@@ -98,11 +98,14 @@ interface KotlinPaths {
|
||||
ScriptingLib(PathUtil.KOTLIN_SCRIPTING_COMMON_NAME),
|
||||
ScriptingJvmLib(PathUtil.KOTLIN_SCRIPTING_JVM_NAME),
|
||||
CoroutinesCore(PathUtil.KOTLINX_COROUTINES_CORE_NAME),
|
||||
KotlinDaemon(PathUtil.KOTLIN_DAEMON_NAME),
|
||||
Ktor(PathUtil.KTOR_NAME),
|
||||
}
|
||||
|
||||
// TODO: Maybe we need separate classpaths for compilers with and without the daemon
|
||||
enum class ClassPaths(val contents: List<Jar> = emptyList()) {
|
||||
Empty(),
|
||||
Compiler(Jar.Compiler, Jar.StdLib, Jar.Reflect, Jar.ScriptRuntime, Jar.Trove4j),
|
||||
Compiler(Jar.Compiler, Jar.StdLib, Jar.Reflect, Jar.ScriptRuntime, Jar.Trove4j, Jar.KotlinDaemon, Jar.Ktor),
|
||||
CompilerWithScripting(Compiler, Jar.ScriptingPlugin, Jar.ScriptingImpl, Jar.ScriptingLib, Jar.ScriptingJvmLib)
|
||||
;
|
||||
|
||||
|
||||
@@ -65,6 +65,9 @@ object PathUtil {
|
||||
const val KOTLIN_SCRIPTING_COMMON_JAR = "$KOTLIN_SCRIPTING_COMMON_NAME.jar"
|
||||
const val KOTLIN_SCRIPTING_JVM_NAME = "kotlin-scripting-jvm"
|
||||
const val KOTLIN_SCRIPTING_JVM_JAR = "$KOTLIN_SCRIPTING_JVM_NAME.jar"
|
||||
const val KOTLIN_DAEMON_NAME = "kotlin-daemon"
|
||||
const val KTOR_NAME = "ktor-network-1.0.1"
|
||||
const val KOTLIN_DAEMON_JAR = "$KOTLIN_SCRIPTING_JVM_NAME.jar"
|
||||
const val KOTLIN_SCRIPTING_COMPILER_PLUGIN_NAME = "kotlin-scripting-compiler"
|
||||
const val KOTLIN_SCRIPTING_COMPILER_PLUGIN_JAR = "$KOTLIN_SCRIPTING_COMPILER_PLUGIN_NAME.jar"
|
||||
const val KOTLINX_COROUTINES_CORE_NAME = "kotlinx-coroutines-core"
|
||||
|
||||
Reference in New Issue
Block a user