mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Use method reference.
This commit is contained in:
parent
e4e0838109
commit
5ed955c5f9
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class DependencyManager2 @Inject constructor(val aether: KobaltAether) {
|
||||||
// Get the transitive closure of all the projects this project depends on
|
// Get the transitive closure of all the projects this project depends on
|
||||||
val transitiveProjects =
|
val transitiveProjects =
|
||||||
if (project == null) emptyList()
|
if (project == null) emptyList()
|
||||||
else DynamicGraph.transitiveClosure(project) { project -> project.dependsOn }
|
else DynamicGraph.transitiveClosure(project, Project::dependsOn)
|
||||||
|
|
||||||
val result = arrayListOf<IClasspathDependency>()
|
val result = arrayListOf<IClasspathDependency>()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue