Set Kotlin 1.9 and Kotlin 2.0 as ready for preview
^KT-56165 ^KTIJ-24398
This commit is contained in:
committed by
Space Team
parent
b867fd8c2f
commit
4dd7481ac3
@@ -485,7 +485,7 @@ interface LanguageOrApiVersion : DescriptionAware {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun LanguageVersion.isStableOrReadyForPreview(): Boolean =
|
fun LanguageVersion.isStableOrReadyForPreview(): Boolean =
|
||||||
isStable
|
isStable || this == KOTLIN_1_9 || this == KOTLIN_2_0
|
||||||
|
|
||||||
fun LanguageVersion.toKotlinVersion() = KotlinVersion(major, minor)
|
fun LanguageVersion.toKotlinVersion() = KotlinVersion(major, minor)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user