mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Don't embed the compiler while packaging a Kotlin app.
This commit is contained in:
parent
dc95e890b4
commit
84c819b4f7
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class KotlinPlugin @Inject constructor(
|
||||||
override fun entriesFor(project: Project?) : List<IClasspathDependency> =
|
override fun entriesFor(project: Project?) : List<IClasspathDependency> =
|
||||||
if (project == null || project is KotlinProject) {
|
if (project == null || project is KotlinProject) {
|
||||||
// All Kotlin projects automatically get the Kotlin runtime added to their class path
|
// 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) }
|
.map { FileDependency(it) }
|
||||||
} else {
|
} else {
|
||||||
listOf()
|
listOf()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue