mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
Log tweaks.
This commit is contained in:
parent
83ddd48260
commit
3147fe43a1
3 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ abstract public class JvmCompilerPlugin @Inject constructor(
|
|||
* Log with a project.
|
||||
*/
|
||||
protected fun lp(project: Project, s: String) {
|
||||
log(1, "${project.name}: ${s}")
|
||||
log(2, "${project.name}: ${s}")
|
||||
}
|
||||
|
||||
fun calculateClasspath(vararg allDependencies : List<IClasspathDependency>): List<IClasspathDependency> {
|
||||
|
|
|
@ -60,7 +60,7 @@ public class JavaPlugin @Inject constructor(
|
|||
// pb.redirectError(File("/tmp/kobalt-err"))
|
||||
// pb.redirectOutput(File("/tmp/kobalt-out"))
|
||||
val line = args.join(" ")
|
||||
lp(project, "Compiling ${sourceFiles.size()} files with classpath size ${cpList.size()}")
|
||||
log(1, "Compiling ${sourceFiles.size()} files with classpath size ${cpList.size()}")
|
||||
log(2, "Compiling ${project}:\n${line}")
|
||||
val process = pb.start()
|
||||
val errorCode = process.waitFor()
|
||||
|
|
|
@ -85,7 +85,7 @@ public class KotlinPlugin @Inject constructor(
|
|||
outputDirectory: String): TaskResult {
|
||||
File(outputDirectory).mkdirs()
|
||||
|
||||
// lp(project, "Compiling ${sources.size()} files with classpath size ${cpList.size()}")
|
||||
log(1, "Compiling ${sources.size()} files with classpath size ${cpList.size()}")
|
||||
|
||||
return kotlinCompilePrivate {
|
||||
classpath(cpList.map { it.jarFile.get().absolutePath })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue