[Gradle] IdeProjectToProjectCInteropDependencyResolver: Resolve dependencies leniently
^KT-61466 Verification Pending
This commit is contained in:
committed by
Space Team
parent
8bb64040c0
commit
bfe54942d3
+3
-1
@@ -41,7 +41,9 @@ internal object IdeProjectToProjectCInteropDependencyResolver : IdeDependencyRes
|
||||
override fun dependencies(project: Project): Iterable<Any> {
|
||||
val extension = project.multiplatformExtensionOrNull ?: return emptySet()
|
||||
return extension.targets.filterIsInstance<KotlinNativeTarget>().flatMap { it.compilations }.mapNotNull { compilation ->
|
||||
project.locateOrCreateCInteropDependencyConfiguration(compilation)
|
||||
project.locateOrCreateCInteropDependencyConfiguration(compilation).incoming.artifactView { view ->
|
||||
view.isLenient = true
|
||||
}.files
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user