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

Fix Dokka classpath.

This commit is contained in:
Cedric Beust 2015-11-15 18:45:38 -08:00
parent 802325c16a
commit b94dafe512

View file

@ -43,9 +43,9 @@ class DokkaPlugin @Inject constructor(val depFactory: DepFactory) : ConfigPlugin
.joinToString(File.pathSeparator)
val dokkaJar = JarFinder.byId(DOKKA_ID)
if (config != null) {
val args = listOf(
val args : List<String> = listOf(
"-classpath", classpathString,
"-jar", dokkaJar,
"-jar", dokkaJar.absolutePath,
"src/main/kotlin") +
config.args
RunCommand(javaExecutable.absolutePath).run(args, successCallback = {