mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
But in transitive closure: add self.
This commit is contained in:
parent
7110a17a07
commit
6e140616b1
1 changed files with 3 additions and 1 deletions
|
@ -1,8 +1,9 @@
|
|||
package com.beust.kobalt.maven
|
||||
|
||||
import com.beust.kobalt.misc.KobaltExecutors
|
||||
import com.beust.kobalt.misc.log
|
||||
import com.google.common.collect.ArrayListMultimap
|
||||
import java.util.Collections
|
||||
import java.util.*
|
||||
import javax.inject.Inject
|
||||
import javax.inject.Singleton
|
||||
|
||||
|
@ -15,6 +16,7 @@ public class DependencyManager @Inject constructor(val executors: KobaltExecutor
|
|||
var result = hashSetOf<IClasspathDependency>()
|
||||
|
||||
dependencies.forEach { projectDependency ->
|
||||
result.add(projectDependency)
|
||||
projectDependency.id.let {
|
||||
result.add(depFactory.create(it, executor))
|
||||
val downloaded = projectDependency.transitiveDependencies(executor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue