Switch default JVM target to 1.8
#KT-29405 Fixed
(cherry picked from commit d022bb0248)
Original commit: bd4d9491ba28eb87e0c2f347823d419eec100ca9
This commit is contained in:
@@ -38,7 +38,7 @@ object JvmIdePlatformKind : IdePlatformKind<JvmIdePlatformKind>() {
|
||||
message = "IdePlatform is deprecated and will be removed soon, please, migrate to org.jetbrains.kotlin.platform.TargetPlatform",
|
||||
level = DeprecationLevel.ERROR
|
||||
)
|
||||
override fun getDefaultPlatform(): Platform = Platform(JvmTarget.JVM_1_6)
|
||||
override fun getDefaultPlatform(): Platform = Platform(JvmTarget.DEFAULT)
|
||||
|
||||
override fun createArguments(): CommonCompilerArguments {
|
||||
return K2JVMCompilerArguments()
|
||||
|
||||
Reference in New Issue
Block a user