Set Kotlin 1.9 and Kotlin 2.0 as ready for preview

^KT-56165
 ^KTIJ-24398
This commit is contained in:
Mikhail Zarechenskiy
2023-01-25 12:11:51 +01:00
committed by Space Team
parent b867fd8c2f
commit 4dd7481ac3
@@ -485,7 +485,7 @@ interface LanguageOrApiVersion : DescriptionAware {
}
fun LanguageVersion.isStableOrReadyForPreview(): Boolean =
isStable
isStable || this == KOTLIN_1_9 || this == KOTLIN_2_0
fun LanguageVersion.toKotlinVersion() = KotlinVersion(major, minor)