Browse Source

Add UikitSimArm64 to ComposePlatforms (#2242)

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
pull/2259/head
Oleksandr Karpovich 2 years ago committed by GitHub
parent
commit
62660a9048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      compose/buildSrc/src/main/kotlin/ComposePlatforms.kt

3
compose/buildSrc/src/main/kotlin/ComposePlatforms.kt

@ -14,7 +14,8 @@ enum class ComposePlatforms(vararg val alternativeNames: String) {
MacosX64("Macos"),
MacosArm64("Macos"),
UikitX64("UiKit"),
UikitArm64("UiKit");
UikitArm64("UiKit"),
UikitSimArm64("UiKit");
fun matches(nameCandidate: String): Boolean =
listOf(name, *alternativeNames).any { it.equals(nameCandidate, ignoreCase = true) }

Loading…
Cancel
Save