mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Use sets.
This commit is contained in:
parent
7ea5fabd77
commit
1af992cf14
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class JvmCompiler @Inject constructor(val dependencyManager: DependencyManager)
|
|||
|
||||
private fun runClasspathContributors(project: Project?, context: KobaltContext?) :
|
||||
Collection<IClasspathDependency> {
|
||||
val result = arrayListOf<IClasspathDependency>()
|
||||
val result = hashSetOf<IClasspathDependency>()
|
||||
context!!.pluginInfo.classpathContributors.forEach { it: IClasspathContributor ->
|
||||
result.addAll(it.entriesFor(project))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue