mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27: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 {
|
||||
override fun compile(projectName: String?, info: CompilerActionInfo): TaskResult {
|
||||
val version = settings.kobaltCompilerVersion
|
||||
log(1, " Kotlin $version compiling "
|
||||
+ Strings.pluralizeAll(info.sourceFiles.size, "directory", "directories" ))
|
||||
if (! info.outputDir.path.endsWith("ript.jar")) {
|
||||
// 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 infoDir = info.directory
|
||||
val outputDir = if (infoDir != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue