Revert "Set canBeConsumed = false on the deprecated configurations like compile"

This reverts commit dfacccf8
This commit is contained in:
Sergey Igushkin
2021-01-21 16:39:00 +03:00
parent 2e660ef62a
commit 87c6b6bffc
2 changed files with 0 additions and 6 deletions
@@ -187,10 +187,6 @@ class VariantAwareDependenciesIT : BaseGradleIT() {
with(outerProject) {
embedProject(innerProject)
gradleBuildScript().appendText(
"\nconfigurations['jvm6TestRuntime'].canBeConsumed = true"
)
gradleBuildScript(innerProject.projectName).appendText(
"\ndependencies { testCompile project(path: ':', configuration: 'jvm6TestRuntime') }"
)
@@ -38,8 +38,6 @@ object ProjectLocalConfigurations {
}
internal fun Configuration.setupAsLocalTargetSpecificConfigurationIfSupported(target: KotlinTarget) {
isCanBeConsumed = false
// don't setup in old MPP common modules, as their output configurations with KotlinPlatformType attribute would
// fail to resolve as transitive dependencies of the platform modules, just as we don't mark their
// `api/RuntimeElements` with the KotlinPlatformType