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

Compile files, not directories.

This commit is contained in:
Cedric Beust 2016-07-11 02:35:00 -08:00
parent e99c277700
commit af61ceb237

View file

@ -43,8 +43,7 @@ class KotlinCompiler @Inject constructor(
val version = settings.kobaltCompilerVersion val version = settings.kobaltCompilerVersion
if (! info.outputDir.path.endsWith("ript.jar")) { if (! info.outputDir.path.endsWith("ript.jar")) {
// Don't display the message if compiling Build.kt // Don't display the message if compiling Build.kt
log(1, " Kotlin $version compiling " log(1, " Kotlin $version compiling " + Strings.pluralizeAll(info.sourceFiles.size, "file"))
+ Strings.pluralizeAll(info.sourceFiles.size, "file"))
} }
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