Switch JVM target of the standard libraries to 1.8 #KT-51907
This commit is contained in:
@@ -7,7 +7,7 @@ plugins {
|
||||
|
||||
// This module does not apply Kotlin plugin, so we are setting toolchain via
|
||||
// java extension
|
||||
configureJavaOnlyToolchain(JdkMajorVersion.JDK_1_6)
|
||||
configureJavaOnlyToolchain(JdkMajorVersion.JDK_1_8)
|
||||
|
||||
val kotlinVersion: String by rootProject.extra
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ plugins {
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
project.updateJvmTarget("1.6")
|
||||
project.updateJvmTarget("1.6") // Should this project be removed altogether ?
|
||||
|
||||
dependencies {
|
||||
api(kotlinStdlib())
|
||||
|
||||
@@ -50,6 +50,7 @@ fun Project.codegenTest(
|
||||
group = "verification"
|
||||
}
|
||||
|
||||
// Should the tests with target = 6 be removed ?
|
||||
codegenTest(
|
||||
target = 6,
|
||||
jdk = JdkMajorVersion.JDK_1_8,
|
||||
|
||||
Reference in New Issue
Block a user