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) ->
gradleBuildScript(project.projectName).appendText(
"\n" + """
configurations.create('foo')
dependencies {
foo project('$dependency')
compile project('$dependency')
foo project(':lib')
compile project(':lib')
implementation project('$dependency')
implementation project(':lib')
}
""".trimIndent()
)
testResolveAllConfigurations(project.projectName)
testResolveAllConfigurations(
project.projectName,
excludePredicate = "it.name in ['compile', 'runtime', 'testCompile', 'testRuntime', 'default']"
)
}
}
}