mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Better logging.
This commit is contained in:
parent
8d9f3903b2
commit
c095054f90
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ class KotlinCompiler @Inject constructor(val localRepo : LocalRepo,
|
||||||
|
|
||||||
val compilerAction = object: ICompilerAction {
|
val compilerAction = object: ICompilerAction {
|
||||||
override fun compile(info: CompilerActionInfo): TaskResult {
|
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(
|
val allArgs : Array<String> = arrayOf(
|
||||||
"-d", info.outputDir.path,
|
"-d", info.outputDir.path,
|
||||||
"-classpath", info.dependencies.map {it.jarFile.get()}.joinToString(File.pathSeparator),
|
"-classpath", info.dependencies.map {it.jarFile.get()}.joinToString(File.pathSeparator),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue