mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -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?) :
|
private fun runClasspathContributors(project: Project?, context: KobaltContext?) :
|
||||||
Collection<IClasspathDependency> {
|
Collection<IClasspathDependency> {
|
||||||
val result = arrayListOf<IClasspathDependency>()
|
val result = hashSetOf<IClasspathDependency>()
|
||||||
context!!.pluginInfo.classpathContributors.forEach { it: IClasspathContributor ->
|
context!!.pluginInfo.classpathContributors.forEach { it: IClasspathContributor ->
|
||||||
result.addAll(it.entriesFor(project))
|
result.addAll(it.entriesFor(project))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue