[Compiler CLI] Make language version description not in capital letters
^KT-51673 Fixed
This commit is contained in:
committed by
teamcity
parent
22830cf159
commit
25a06bdc56
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
error: unknown API version: 239.42
|
error: unknown API version: 239.42
|
||||||
Supported API versions: 1.3 (DEPRECATED), 1.4 (DEPRECATED), 1.5, 1.6, 1.7, 1.8 (EXPERIMENTAL), 1.9 (EXPERIMENTAL)
|
Supported API versions: 1.3 (deprecated), 1.4 (deprecated), 1.5, 1.6, 1.7, 1.8 (experimental), 1.9 (experimental)
|
||||||
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.3 (DEPRECATED), 1.4 (DEPRECATED), 1.5, 1.6, 1.7, 1.8 (EXPERIMENTAL), 1.9 (EXPERIMENTAL)
|
Supported language versions: 1.3 (deprecated), 1.4 (deprecated), 1.5, 1.6, 1.7, 1.8 (experimental), 1.9 (experimental)
|
||||||
COMPILATION_ERROR
|
COMPILATION_ERROR
|
||||||
|
|||||||
@@ -434,9 +434,9 @@ interface LanguageOrApiVersion : DescriptionAware {
|
|||||||
|
|
||||||
override val description: String
|
override val description: String
|
||||||
get() = when {
|
get() = when {
|
||||||
!isStable -> "$versionString (EXPERIMENTAL)"
|
!isStable -> "$versionString (experimental)"
|
||||||
isDeprecated -> "$versionString (DEPRECATED)"
|
isDeprecated -> "$versionString (deprecated)"
|
||||||
isUnsupported -> "$versionString (UNSUPPORTED)"
|
isUnsupported -> "$versionString (unsupported)"
|
||||||
else -> versionString
|
else -> versionString
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -7,14 +7,14 @@ interface KotlinCommonOptions : org.jetbrains.kotlin.gradle.dsl.KotlinCommonToo
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Allow using declarations only from the specified version of bundled libraries
|
* Allow using declarations only from the specified version of bundled libraries
|
||||||
* Possible values: "1.3 (DEPRECATED)", "1.4 (DEPRECATED)", "1.5", "1.6", "1.7", "1.8 (EXPERIMENTAL)", "1.9 (EXPERIMENTAL)"
|
* Possible values: "1.3 (deprecated)", "1.4 (deprecated)", "1.5", "1.6", "1.7", "1.8 (experimental)", "1.9 (experimental)"
|
||||||
* Default value: null
|
* Default value: null
|
||||||
*/
|
*/
|
||||||
var apiVersion: kotlin.String?
|
var apiVersion: kotlin.String?
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provide source compatibility with the specified version of Kotlin
|
* Provide source compatibility with the specified version of Kotlin
|
||||||
* Possible values: "1.3 (DEPRECATED)", "1.4 (DEPRECATED)", "1.5", "1.6", "1.7", "1.8 (EXPERIMENTAL)", "1.9 (EXPERIMENTAL)"
|
* Possible values: "1.3 (deprecated)", "1.4 (deprecated)", "1.5", "1.6", "1.7", "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