1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Correct the source set.

This commit is contained in:
Cedric Beust 2016-08-02 23:14:28 -08:00
parent f9ecc7653c
commit ea06bf6743

View file

@ -80,7 +80,7 @@ class DependencyData @Inject constructor(val executors: KobaltExecutors, val dep
fun testDependenciesGraph(project: Project, name: String): List<DependencyData> { fun testDependenciesGraph(project: Project, name: String): List<DependencyData> {
val depLambda = { dep : IClasspathDependency -> dep.directDependencies() } val depLambda = { dep : IClasspathDependency -> dep.directDependencies() }
return DynamicGraph.Companion.transitiveClosureGraph(project.testDependencies, depLambda) return DynamicGraph.Companion.transitiveClosureGraph(project.testDependencies, depLambda)
.map { toDependencyData2("compile", it)} .map { toDependencyData2("testCompile", it)}
} }
val allTasks = hashSetOf<TaskData>() val allTasks = hashSetOf<TaskData>()