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

Fix GITHUB-314: Couldn’t find directory “”.

Fix https://github.com/cbeust/kobalt/issues/314
This commit is contained in:
Cedric Beust 2017-02-13 10:13:06 -08:00
parent 5f48cb18e9
commit 834aa09f54

View file

@ -106,6 +106,7 @@ class KotlinCompiler @Inject constructor(
"-d", info.outputDir.absolutePath, "-d", info.outputDir.absolutePath,
*xFlagsArray, *xFlagsArray,
*info.sourceFiles.toTypedArray()) *info.sourceFiles.toTypedArray())
.filter { ! it.isEmpty() }
log(2, " Invoking separate kotlinc:\n " + java!!.absolutePath + " " + newArgs.joinToString()) log(2, " Invoking separate kotlinc:\n " + java!!.absolutePath + " " + newArgs.joinToString())