diff --git a/src/main/kotlin/com/beust/kobalt/app/remote/RemoteDependencyData.kt b/src/main/kotlin/com/beust/kobalt/app/remote/RemoteDependencyData.kt index 767d9aa0..1198cf08 100644 --- a/src/main/kotlin/com/beust/kobalt/app/remote/RemoteDependencyData.kt +++ b/src/main/kotlin/com/beust/kobalt/app/remote/RemoteDependencyData.kt @@ -116,7 +116,7 @@ class RemoteDependencyData @Inject constructor(val executors: KobaltExecutors, v } fun testDependenciesGraph(project: Project, name: String): List { - val depLambda = { dep : IClasspathDependency -> dep.directDependencies() } + val depLambda = IClasspathDependency::directDependencies return DynamicGraph.Companion.transitiveClosureGraph(project.testDependencies, depLambda, OPTIONAL_FILTER) .map { toDependencyData2("testCompile", it)} }