Change kotlin-runtime dependency to kotlin-stdlib in Kotlin runner and ant task
This commit is contained in:
@@ -38,7 +38,7 @@ internal object KotlinAntTaskUtil {
|
||||
}
|
||||
|
||||
val compilerJar: File by jar("kotlin-compiler.jar")
|
||||
val runtimeJar: File by jar("kotlin-runtime.jar")
|
||||
val runtimeJar: File by jar("kotlin-stdlib.jar")
|
||||
val reflectJar: File by jar("kotlin-reflect.jar")
|
||||
|
||||
private fun jar(name: String) = lazy {
|
||||
|
||||
@@ -19,7 +19,7 @@ sourceSets {
|
||||
|
||||
runtimeJar {
|
||||
manifest.attributes.put("Main-Class", "org.jetbrains.kotlin.runner.Main")
|
||||
manifest.attributes.put("Class-Path", "kotlin-runtime.jar")
|
||||
manifest.attributes.put("Class-Path", "kotlin-stdlib.jar")
|
||||
}
|
||||
|
||||
dist()
|
||||
|
||||
@@ -96,7 +96,7 @@ object Main {
|
||||
classpath.addPath(".")
|
||||
}
|
||||
|
||||
classpath.addPath(KOTLIN_HOME.toString() + "/lib/kotlin-runtime.jar")
|
||||
classpath.addPath(KOTLIN_HOME.toString() + "/lib/kotlin-stdlib.jar")
|
||||
|
||||
if (!noReflect) {
|
||||
classpath.addPath(KOTLIN_HOME.toString() + "/lib/kotlin-reflect.jar")
|
||||
|
||||
Reference in New Issue
Block a user