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

Better logging.

This commit is contained in:
Cedric Beust 2015-11-06 17:52:01 -08:00
parent 8d9f3903b2
commit c095054f90

View file

@ -36,7 +36,9 @@ class KotlinCompiler @Inject constructor(val localRepo : LocalRepo,
val compilerAction = object: ICompilerAction {
override fun compile(info: CompilerActionInfo): TaskResult {
log(1, " Compiling ${info.sourceFiles.size} files")
if (info.sourceFiles.size > 1) {
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),