[MPP] Update Android associate compilation dependencies handling

Don't add associate dependencies to test runtime classpath as it's managed by AGP
and might lead to duplicate dependencies and runtime problems.

KT-49877
This commit is contained in:
Pavel Kirpichenkov
2022-08-03 14:03:26 +03:00
committed by Space
parent 857d8aa8ae
commit 5536cf1df1
@@ -544,13 +544,6 @@ class AndroidCompilationDetails(
other.implementationConfigurationName,
other.compileOnlyConfigurationName
)
compilation.runtimeDependencyConfigurationName.addAllDependenciesFromOtherConfigurations(
project,
other.apiConfigurationName,
other.implementationConfigurationName,
other.runtimeOnlyConfigurationName
)
}
override val kotlinDependenciesHolder: HasKotlinDependencies