mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Simplify.
This commit is contained in:
parent
bd55768c2b
commit
4f78e911e3
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class RemoteDependencyData @Inject constructor(val executors: KobaltExecutors, v
|
|||
}
|
||||
|
||||
fun testDependenciesGraph(project: Project, name: String): List<DependencyData> {
|
||||
val depLambda = { dep : IClasspathDependency -> dep.directDependencies() }
|
||||
val depLambda = IClasspathDependency::directDependencies
|
||||
return DynamicGraph.Companion.transitiveClosureGraph(project.testDependencies, depLambda, OPTIONAL_FILTER)
|
||||
.map { toDependencyData2("testCompile", it)}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue