[K/N] K2/MPP: Move stdlib to the head of dependency list.

^KT-61645 Fixed

Merge-request: KT-MR-12079
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-09-13 13:56:21 +00:00
committed by Space Team
parent fbeed67931
commit c4201101ac
7 changed files with 54 additions and 3 deletions
@@ -98,6 +98,9 @@ val BaseKotlinLibrary.uniqueName: String
val BaseKotlinLibrary.shortName: String?
get() = manifestProperties.getProperty(KLIB_PROPERTY_SHORT_NAME)
val BaseKotlinLibrary.isNativeStdlib: Boolean
get() = uniqueName == KOTLIN_STDLIB_NAME
val BaseKotlinLibrary.unresolvedDependencies: List<RequiredUnresolvedLibrary>
get() = unresolvedDependencies(lenient = false).map { it as RequiredUnresolvedLibrary }