1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00

Don't embed the compiler while packaging a Kotlin app.

This commit is contained in:
Cedric Beust 2015-11-27 00:51:59 -08:00
parent dc95e890b4
commit 84c819b4f7

View file

@ -103,7 +103,7 @@ class KotlinPlugin @Inject constructor(
override fun entriesFor(project: Project?) : List<IClasspathDependency> =
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()