Resolve dependencies as graph, support multiple modules in a project

This commit is contained in:
Sergey Igushkin
2021-01-18 13:27:25 +03:00
committed by TeamCityServer
parent f1fb438d00
commit d66f95b80e
17 changed files with 516 additions and 350 deletions
@@ -427,8 +427,7 @@ class HierarchicalMppIT : BaseGradleIT() {
shouldInclude: Iterable<Pair<String, String>> = emptyList(),
shouldNotInclude: Iterable<Pair<String, String>> = emptyList()
) {
val taskOutput = getOutputForTask(taskPath.removePrefix(":"))
val compilerArgsLine = taskOutput.lines().single { "Kotlin compiler args:" in it }
val compilerArgsLine = output.lines().single { "$taskPath Kotlin compiler args:" in it }
val classpathItems = compilerArgsLine.substringAfter("-classpath").substringBefore(" -").split(File.pathSeparator)
val actualClasspath = classpathItems.joinToString("\n")