From 834aa09f543097dc9be2036eab3c9e3ecf421c1a Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Mon, 13 Feb 2017 10:13:06 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20GITHUB-314:=20Couldn=E2=80=99t=20find=20d?= =?UTF-8?q?irectory=20=E2=80=9C=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix https://github.com/cbeust/kobalt/issues/314 --- src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt index 5b805676..3e7c6239 100644 --- a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt +++ b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt @@ -106,6 +106,7 @@ class KotlinCompiler @Inject constructor( "-d", info.outputDir.absolutePath, *xFlagsArray, *info.sourceFiles.toTypedArray()) + .filter { ! it.isEmpty() } log(2, " Invoking separate kotlinc:\n " + java!!.absolutePath + " " + newArgs.joinToString())