mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Fix logs.
This commit is contained in:
parent
52a3b6e542
commit
a308564f77
2 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue