From 84c819b4f772077452242e4380816d7321b9614c Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Fri, 27 Nov 2015 00:51:59 -0800 Subject: [PATCH] Don't embed the compiler while packaging a Kotlin app. --- src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt index 0fbcc7dc..ddd2c43b 100644 --- a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt +++ b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt @@ -103,7 +103,7 @@ class KotlinPlugin @Inject constructor( override fun entriesFor(project: Project?) : List = if (project == null || project is KotlinProject) { // All Kotlin projects automatically get the Kotlin runtime added to their class path - listOf(getKotlinCompilerJar("kotlin-stdlib"), getKotlinCompilerJar("kotlin-compiler-embeddable")) + listOf(getKotlinCompilerJar("kotlin-stdlib"), getKotlinCompilerJar("kotlin-runtime")) .map { FileDependency(it) } } else { listOf()