2e515f3945
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
19 lines
381 B
Kotlin
19 lines
381 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
project.configureJvmToolchain(JdkMajorVersion.JDK_1_6)
|
|
|
|
dependencies {
|
|
api(project(":core:util.runtime"))
|
|
api(kotlinStdlib())
|
|
api(project(":kotlin-annotations-jvm"))
|
|
kotlinCompilerClasspath(project(":libraries:tools:stdlib-compiler-classpath"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|