Add JVM target bytecode version 20
#KT-57495 Fixed
This commit is contained in:
committed by
Space Team
parent
7aeca2fda0
commit
37c776b233
@@ -36,6 +36,7 @@ enum class JvmTarget(
|
||||
JVM_17("17", Opcodes.V16 + 1),
|
||||
JVM_18("18", Opcodes.V16 + 2),
|
||||
JVM_19("19", Opcodes.V16 + 3),
|
||||
JVM_20("20", Opcodes.V16 + 4),
|
||||
;
|
||||
|
||||
override fun toString() = description
|
||||
@@ -61,7 +62,7 @@ enum class JvmTarget(
|
||||
values().asList() - JVM_1_6
|
||||
|
||||
const val SUPPORTED_VERSIONS_DESCRIPTION =
|
||||
"1.8, 9, 10, ..., 19"
|
||||
"1.8, 9, 10, ..., 20"
|
||||
|
||||
init {
|
||||
check(SUPPORTED_VERSIONS_DESCRIPTION == "1.8, 9, 10, ..., ${values().last().description}") {
|
||||
|
||||
Reference in New Issue
Block a user