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:
parent
e99c277700
commit
af61ceb237
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue