From 5be76eb57c438978e00e6db8afc791047477fc9a Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Mon, 2 Oct 2023 18:14:29 +0200 Subject: [PATCH] Native: disable K2 for tests/samples/uikit Currently it fails with K2 because of ^KT-62262 Disable K2 in this test in order to mute the failure. --- .../backend.native/tests/samples/uikit/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kotlin-native/backend.native/tests/samples/uikit/build.gradle.kts b/kotlin-native/backend.native/tests/samples/uikit/build.gradle.kts index 79e7e63e023..e5672193f69 100644 --- a/kotlin-native/backend.native/tests/samples/uikit/build.gradle.kts +++ b/kotlin-native/backend.native/tests/samples/uikit/build.gradle.kts @@ -101,3 +101,7 @@ val packForXCode = if (sdkName == null || targetBuildDir == null || executablePa } } } + +tasks.withType().configureEach { + compilerOptions.languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9) +}