VariantAwareDependenciesIT.kt: remove compile/runtime/... configurations

This commit is contained in:
Sergey Igushkin
2020-06-04 20:41:50 +03:00
parent 3291cf7a6e
commit e4e70f1b5b
@@ -205,17 +205,17 @@ class VariantAwareDependenciesIT : BaseGradleIT() {
listOf(innerJvmProject to ":libJvm", innerJsProject to ":libJs").forEach { (project, dependency) -> listOf(innerJvmProject to ":libJvm", innerJsProject to ":libJs").forEach { (project, dependency) ->
gradleBuildScript(project.projectName).appendText( gradleBuildScript(project.projectName).appendText(
"\n" + """ "\n" + """
configurations.create('foo')
dependencies { dependencies {
foo project('$dependency') implementation project('$dependency')
compile project('$dependency') implementation project(':lib')
foo project(':lib')
compile project(':lib')
} }
""".trimIndent() """.trimIndent()
) )
testResolveAllConfigurations(project.projectName) testResolveAllConfigurations(
project.projectName,
excludePredicate = "it.name in ['compile', 'runtime', 'testCompile', 'testRuntime', 'default']"
)
} }
} }
} }