mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Don't display the compiling message for build files.
This commit is contained in:
parent
1ffb03f660
commit
1a029e4a56
1 changed files with 5 additions and 2 deletions
|
@ -39,8 +39,11 @@ class KotlinCompiler @Inject constructor(
|
||||||
val compilerAction = object: ICompilerAction {
|
val compilerAction = object: ICompilerAction {
|
||||||
override fun compile(projectName: String?, info: CompilerActionInfo): TaskResult {
|
override fun compile(projectName: String?, info: CompilerActionInfo): TaskResult {
|
||||||
val version = settings.kobaltCompilerVersion
|
val version = settings.kobaltCompilerVersion
|
||||||
log(1, " Kotlin $version compiling "
|
if (! info.outputDir.path.endsWith("ript.jar")) {
|
||||||
+ Strings.pluralizeAll(info.sourceFiles.size, "directory", "directories" ))
|
// Don't display the message if compiling Build.kt
|
||||||
|
log(1, " Kotlin $version compiling "
|
||||||
|
+ Strings.pluralizeAll(info.sourceFiles.size, "directory", "directories"))
|
||||||
|
}
|
||||||
val cp = compilerFirst(info.dependencies.map {it.jarFile.get()})
|
val cp = compilerFirst(info.dependencies.map {it.jarFile.get()})
|
||||||
val infoDir = info.directory
|
val infoDir = info.directory
|
||||||
val outputDir = if (infoDir != null) {
|
val outputDir = if (infoDir != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue