[Gradle] Implement KotlinLibrary.builtInsPlatform extension

KT-55189
This commit is contained in:
Sebastian Sellmair
2022-11-30 16:48:14 +01:00
committed by Space Team
parent 0f533a8a2f
commit 0575567da4
@@ -109,6 +109,9 @@ val KotlinLibrary.containsErrorCode: Boolean
val KotlinLibrary.commonizerTarget: String?
get() = manifestProperties.getProperty(KLIB_PROPERTY_COMMONIZER_TARGET)
val KotlinLibrary.builtInsPlatform: String?
get() = manifestProperties.getProperty(KLIB_PROPERTY_BUILTINS_PLATFORM)
val BaseKotlinLibrary.commonizerNativeTargets: List<String>?
get() = if (manifestProperties.containsKey(KLIB_PROPERTY_COMMONIZER_NATIVE_TARGETS))
manifestProperties.propertyList(KLIB_PROPERTY_COMMONIZER_NATIVE_TARGETS, escapeInQuotes = true)