VariantAwareDependenciesIT.kt: remove compile/runtime/... configurations
This commit is contained in:
+6
-6
@@ -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']"
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user