mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Comment.
This commit is contained in:
parent
3ffbcf9d06
commit
9bb3b11128
1 changed files with 3 additions and 1 deletions
|
@ -110,7 +110,9 @@ class CompilerUtils @Inject constructor(val files: KFiles,
|
|||
! KFiles.isResource(it.path)
|
||||
}.distinct()
|
||||
|
||||
// Now that we have all the source directories, find all the source files in them
|
||||
// Now that we have all the source directories, find all the source files in them. Note that
|
||||
// depending on the compiler's ability, sourceFiles can actually contain a list of directories
|
||||
// instead of individual source files.
|
||||
val projectDirectory = File(project.directory)
|
||||
val sourceFiles = if (compiler.canCompileDirectories) {
|
||||
allSourceDirectories.map { File(projectDirectory, it.path).path }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue