1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -07:00
This commit is contained in:
Cedric Beust 2016-06-08 02:07:16 -08:00
parent aaf5e4826b
commit a493cbc11e

View file

@ -111,9 +111,9 @@ class DependencyManager @Inject constructor(val executors: KobaltExecutors, val
*/ */
fun transitiveClosure(dependencies : List<IClasspathDependency>, indent : String = " "): fun transitiveClosure(dependencies : List<IClasspathDependency>, indent : String = " "):
List<IClasspathDependency> { List<IClasspathDependency> {
var executor = executors.newExecutor("JvmCompiler}", 10) val executor = executors.newExecutor("JvmCompiler}", 10)
var result = hashSetOf<IClasspathDependency>() val result = hashSetOf<IClasspathDependency>()
dependencies.forEach { projectDependency -> dependencies.forEach { projectDependency ->
log(ConsoleRepositoryListener.LOG_LEVEL, "$indent Resolving $projectDependency") log(ConsoleRepositoryListener.LOG_LEVEL, "$indent Resolving $projectDependency")