Switch JVM target of the standard libraries to 1.8 #KT-51907

This commit is contained in:
Abduqodiri Qurbonzoda
2022-07-11 22:58:30 +03:00
parent 54980ce0d5
commit 34e50649e8
28 changed files with 44 additions and 37 deletions
+1 -11
View File
@@ -5,17 +5,7 @@ plugins {
id("jps-compatible")
}
tasks
.matching { it.name == "compileKotlin" && it is KotlinCompile }
.configureEach {
(this as KotlinCompile).configureTaskToolchain(chooseJdk18ForJpsBuild(JdkMajorVersion.JDK_1_6))
}
tasks
.matching { it.name == "compileJava" && it is JavaCompile }
.configureEach {
(this as JavaCompile).configureTaskToolchain(chooseJdk18ForJpsBuild(JdkMajorVersion.JDK_1_6))
}
project.configureJvmToolchain(JdkMajorVersion.JDK_1_8)
dependencies {
compileOnly(project(":core:util.runtime"))