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

Fix logs.

This commit is contained in:
Cedric Beust 2015-11-02 21:38:22 -08:00
parent 52a3b6e542
commit a308564f77
2 changed files with 1 additions and 2 deletions

View file

@ -33,7 +33,6 @@ class JavaCompiler @Inject constructor(val jvmCompiler: JvmCompiler) {
pb.directory(info.outputDir)
pb.inheritIO()
val line = allArgs.joinToString(" ")
log(1, " Compiling ${info.sourceFiles.size} files with classpath size " + info.dependencies.size)
log(2, " Compiling $line")
val process = pb.start()
val errorCode = process.waitFor()

View file

@ -31,7 +31,7 @@ class KotlinCompiler @Inject constructor(val localRepo : LocalRepo,
val compilerAction = object: ICompilerAction {
override fun compile(info: CompilerActionInfo): TaskResult {
log(1, "Compiling ${info.sourceFiles.size} files")
log(1, " Compiling ${info.sourceFiles.size} files")
val allArgs : Array<String> = arrayOf(
"-d", info.outputDir.path,
"-classpath", info.dependencies.map {it.jarFile.get()}.joinToString(File.pathSeparator),