Skip to content

Commit c7c008a

Browse files
committed
fixup
1 parent 4cbc747 commit c7c008a

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

buildSrc/src/main/kotlin/KotlinVersion.kt

-14
This file was deleted.

gradle/compile-native-multiplatform.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import static KotlinVersion.isKotlinVersionAtLeast
2-
31
/*
42
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
53
*/
@@ -10,7 +8,7 @@ project.ext.nativeTestSets = []
108
// TODO: this block should be removed when Kotlin version is updated to 1.9.20
119
// Right now it is used for conditional removal of native targets that will be removed in 1.9.20 (iosArm32, watchosX86)
1210
// and is necessary for testing of Kotlin dev builds.
13-
def enableDeprecatedNativeTargets = !isKotlinVersionAtLeast(ext.kotlin_version, 1, 9, 20)
11+
def enableDeprecatedNativeTargets = !kotlin.KotlinVersion.CURRENT.isAtLeast(1, 9, 20)
1412

1513
kotlin {
1614
targets {

0 commit comments

Comments
 (0)