From 1b40667096ad465f374a9a07e9ce470af33191c5 Mon Sep 17 00:00:00 2001 From: Osip Fatkullin Date: Mon, 30 Sep 2024 15:29:15 +0200 Subject: [PATCH] KT-71866 Fix withAndroidNativeArm32 selector https://youtrack.jetbrains.com/issue/KT-71866/KotlinHierarchyBuilder.withAndroidNativeArm32-selects-the-wrong-KonanTarget --- .../gradle/plugin/hierarchy/KotlinHierarchyBuilderImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/hierarchy/KotlinHierarchyBuilderImpl.kt b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/hierarchy/KotlinHierarchyBuilderImpl.kt index 38f5b5b20a4b0..1ec6fd9d4d58f 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/hierarchy/KotlinHierarchyBuilderImpl.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/hierarchy/KotlinHierarchyBuilderImpl.kt @@ -186,7 +186,7 @@ private class KotlinHierarchyBuilderImpl( } override fun withAndroidNativeArm32() = withTargets { - it is KotlinNativeTarget && it.konanTarget == KonanTarget.ANDROID_X86 + it is KotlinNativeTarget && it.konanTarget == KonanTarget.ANDROID_ARM32 } override fun withAndroidNativeArm64() = withTargets {