Restore support of language version 1.3
#KT-50251 Fixed (cherry picked from commit a0004ed03adc9f50f26c8b11d178afcc2abf2a9c)
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
error: language version 1.1 is no longer supported; please, use version 1.4 or greater.
|
error: language version 1.1 is no longer supported; please, use version 1.3 or greater.
|
||||||
COMPILATION_ERROR
|
COMPILATION_ERROR
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
error: unknown API version: 239.42
|
error: unknown API version: 239.42
|
||||||
Supported API versions: 1.4 (DEPRECATED), 1.5, 1.6, 1.7 (EXPERIMENTAL), 1.8 (EXPERIMENTAL), 1.9 (EXPERIMENTAL)
|
Supported API versions: 1.3 (DEPRECATED), 1.4 (DEPRECATED), 1.5, 1.6, 1.7 (EXPERIMENTAL), 1.8 (EXPERIMENTAL), 1.9 (EXPERIMENTAL)
|
||||||
COMPILATION_ERROR
|
COMPILATION_ERROR
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
error: language version 1.2 is no longer supported; please, use version 1.4 or greater.
|
error: language version 1.2 is no longer supported; please, use version 1.3 or greater.
|
||||||
COMPILATION_ERROR
|
COMPILATION_ERROR
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
error: unknown language version: 239.42
|
error: unknown language version: 239.42
|
||||||
Supported language versions: 1.4 (DEPRECATED), 1.5, 1.6, 1.7 (EXPERIMENTAL), 1.8 (EXPERIMENTAL), 1.9 (EXPERIMENTAL)
|
Supported language versions: 1.3 (DEPRECATED), 1.4 (DEPRECATED), 1.5, 1.6, 1.7 (EXPERIMENTAL), 1.8 (EXPERIMENTAL), 1.9 (EXPERIMENTAL)
|
||||||
COMPILATION_ERROR
|
COMPILATION_ERROR
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
error: language version 1.1 is no longer supported; please, use version 1.4 or greater.
|
error: language version 1.1 is no longer supported; please, use version 1.3 or greater.
|
||||||
COMPILATION_ERROR
|
COMPILATION_ERROR
|
||||||
|
|||||||
@@ -394,15 +394,15 @@ enum class LanguageVersion(val major: Int, val minor: Int) : DescriptionAware, L
|
|||||||
str.split(".", "-").let { if (it.size >= 2) fromVersionString("${it[0]}.${it[1]}") else null }
|
str.split(".", "-").let { if (it.size >= 2) fromVersionString("${it[0]}.${it[1]}") else null }
|
||||||
|
|
||||||
// Version status
|
// Version status
|
||||||
// 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8
|
// 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9
|
||||||
// Language: UNSUPPORTED -------> DEPRECATED -> STABLE ---> EXPERIMENTAL
|
// Language: UNSUPPORTED --> DEPRECATED ------> STABLE ---> EXPERIMENTAL
|
||||||
// API: UNSUPPORTED --> DEPRECATED ------> STABLE ---> EXPERIMENTAL
|
// API: UNSUPPORTED --> DEPRECATED ------> STABLE ---> EXPERIMENTAL
|
||||||
|
|
||||||
@JvmField
|
@JvmField
|
||||||
val FIRST_API_SUPPORTED = KOTLIN_1_3
|
val FIRST_API_SUPPORTED = KOTLIN_1_3
|
||||||
|
|
||||||
@JvmField
|
@JvmField
|
||||||
val FIRST_SUPPORTED = KOTLIN_1_4
|
val FIRST_SUPPORTED = KOTLIN_1_3
|
||||||
|
|
||||||
@JvmField
|
@JvmField
|
||||||
val FIRST_NON_DEPRECATED = KOTLIN_1_5
|
val FIRST_NON_DEPRECATED = KOTLIN_1_5
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ interface KotlinCommonOptions : org.jetbrains.kotlin.gradle.dsl.KotlinCommonToo
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Provide source compatibility with the specified version of Kotlin
|
* Provide source compatibility with the specified version of Kotlin
|
||||||
* Possible values: "1.4 (DEPRECATED)", "1.5", "1.6", "1.7 (EXPERIMENTAL)", "1.8 (EXPERIMENTAL)", "1.9 (EXPERIMENTAL)"
|
* Possible values: "1.3 (DEPRECATED)", "1.4 (DEPRECATED)", "1.5", "1.6", "1.7 (EXPERIMENTAL)", "1.8 (EXPERIMENTAL)", "1.9 (EXPERIMENTAL)"
|
||||||
* Default value: null
|
* Default value: null
|
||||||
*/
|
*/
|
||||||
var languageVersion: kotlin.String?
|
var languageVersion: kotlin.String?
|
||||||
|
|||||||
Reference in New Issue
Block a user