1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 16:07:12 -07:00

Preserve dependency order.

This commit is contained in:
Cedric Beust 2017-03-21 12:05:28 -07:00
parent dbb06d0e79
commit c43967bec9

View file

@ -92,7 +92,7 @@ open class JvmCompilerPlugin @Inject constructor(
scopes = listOf(Scope.TEST))
val compileDependencies = dependencyManager.calculateDependencies(project, context,
scopes = listOf(Scope.COMPILE))
val allDependencies = (compileDependencies + testDependencies).toHashSet()
val allDependencies = (testDependencies + compileDependencies).distinct()
return testContributor.run(project, context, configName, allDependencies.toList())
} else {
context.logger.log(project.name, 2,