mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Duplicate sources.
This commit is contained in:
parent
589c953a9c
commit
7818280538
1 changed files with 2 additions and 2 deletions
|
@ -249,10 +249,10 @@ abstract class JvmCompilerPlugin @Inject constructor(
|
|||
return result
|
||||
}
|
||||
|
||||
val sourceDirectories = arrayListOf<File>()
|
||||
val sourceDirectories = hashSetOf<File>()
|
||||
|
||||
// ISourceDirectoryContributor
|
||||
override fun sourceDirectoriesFor(project: Project, context: KobaltContext)
|
||||
= if (accept(project)) sourceDirectories else arrayListOf()
|
||||
= if (accept(project)) sourceDirectories.toList() else arrayListOf()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue