Closed ethauvin closed 7 years ago
Ok to close this issue since we established in Slack that kotlin
is kotlin-stdlib
, which is pulled by kobalt-plugin-api
?
I don't think so. compileOnly
excludes the kobalt-plugin-api
and its dependencies. It works, everything is gone from fatJar
, except for the kotlin-stdlib
in the kotlin
directory.
// All Kotlin projects automatically get the Kotlin runtime added to their class path
listOf(kotlinJarFiles.stdlib, kotlinJarFiles.runtime)
.map { FileDependency(it.absolutePath) }
Closing per our Slack conversation.
Per the docs:
Looks like it's including the
kobalt-api
dependencies, which does make sense. The solution, which was not available until recently, is to use:Looks better, except for the
kotlin
directory.