mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27: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
|
||||
val transitiveProjects =
|
||||
if (project == null) emptyList()
|
||||
else DynamicGraph.transitiveClosure(project) { project -> project.dependsOn }
|
||||
else DynamicGraph.transitiveClosure(project, Project::dependsOn)
|
||||
|
||||
val result = arrayListOf<IClasspathDependency>()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue