1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2016-02-15 08:05:04 -08:00
parent d1746f1b92
commit e25b62a01e

View file

@ -41,8 +41,9 @@ class KotlinCompiler @Inject constructor(
log(1, " Kotlin compiling ${info.sourceFiles.size} files")
}
val cp = compilerFirst(info.dependencies.map {it.jarFile.get()})
val outputDir = if (info.directory != null) {
KFiles.joinDir(info.directory, info.outputDir.path)
val infoDir = info.directory
val outputDir = if (infoDir != null) {
KFiles.joinDir(infoDir, info.outputDir.path)
} else {
info.outputDir.path
}