1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2017-03-18 23:09:04 -07:00
parent af8c5c7d56
commit b21d867ec2

View file

@ -30,7 +30,7 @@ class CompilerUtils @Inject constructor(val files: KFiles, val dependencyManager
} }
val sourceFiles = KFiles.findSourceFiles(project.directory, val sourceFiles = KFiles.findSourceFiles(project.directory,
contributedSourceDirs.map { it.path }, compiler.sourceSuffixes) contributedSourceDirs.map { it.path }, compiler.sourceSuffixes)
if (sourceFiles.size > 0) { if (sourceFiles.isNotEmpty()) {
// TODO: createCompilerActionInfo recalculates the source files, only compute them // TODO: createCompilerActionInfo recalculates the source files, only compute them
// once and pass them // once and pass them
val info = createCompilerActionInfo(project, context, compiler, isTest, val info = createCompilerActionInfo(project, context, compiler, isTest,