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
21 lines
477 B
Kotlin
21 lines
477 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
project.configureJvmToolchain(JdkMajorVersion.JDK_1_6)
|
|
|
|
dependencies {
|
|
api(project(":core:metadata"))
|
|
api(project(":core:deserialization.common"))
|
|
api(project(":core:util.runtime"))
|
|
api(project(":core:descriptors"))
|
|
api(commonDependency("javax.inject"))
|
|
kotlinCompilerClasspath(project(":libraries:tools:stdlib-compiler-classpath"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|