Revert "Set canBeConsumed = false on the deprecated configurations like compile"
This reverts commit dfacccf8
This commit is contained in:
-4
@@ -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') }"
|
||||
)
|
||||
|
||||
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user