[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:
committed by
Space
parent
857d8aa8ae
commit
5536cf1df1
-7
@@ -544,13 +544,6 @@ class AndroidCompilationDetails(
|
|||||||
other.implementationConfigurationName,
|
other.implementationConfigurationName,
|
||||||
other.compileOnlyConfigurationName
|
other.compileOnlyConfigurationName
|
||||||
)
|
)
|
||||||
|
|
||||||
compilation.runtimeDependencyConfigurationName.addAllDependenciesFromOtherConfigurations(
|
|
||||||
project,
|
|
||||||
other.apiConfigurationName,
|
|
||||||
other.implementationConfigurationName,
|
|
||||||
other.runtimeOnlyConfigurationName
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override val kotlinDependenciesHolder: HasKotlinDependencies
|
override val kotlinDependenciesHolder: HasKotlinDependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user