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

Remove nonexistent folders.

This commit is contained in:
Cedric Beust 2015-12-08 15:46:19 -08:00
parent 2b3cb81a9b
commit 2d80778bc7

View file

@ -198,6 +198,8 @@ abstract class JvmCompilerPlugin @Inject constructor(
} else {
context.pluginInfo.sourceDirectoriesInterceptors.fold(initialSourceDirectories.toList(),
{ sd, interceptor -> interceptor.intercept(project, context, sd) })
}.filter {
it.exists()
}
// Now that we have the final list of source dirs, find source files in them