Prohibit JVM target 1.6
But still compile stdlib, reflect, kotlin.test and scripting runtimes with JVM target 1.6 to simplify migration from Kotlin 1.6 to 1.7. #KT-45165 Fixed
This commit is contained in:
@@ -7,6 +7,7 @@ JvmToolchain.updateJvmTarget(project, "1.6")
|
||||
dependencies {
|
||||
api kotlinStdlib("common")
|
||||
testApi project(":kotlin-test:kotlin-test-common")
|
||||
kotlinCompilerClasspath project(':libraries:tools:stdlib-compiler-classpath')
|
||||
}
|
||||
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinCompile) {
|
||||
@@ -18,4 +19,4 @@ jar {
|
||||
}
|
||||
|
||||
configureSourcesJar()
|
||||
configureJavadocJar()
|
||||
configureJavadocJar()
|
||||
|
||||
Reference in New Issue
Block a user