Kotlin JPS plugin: set JVM bytecode target to 1.8

^KTIJ-20854 Fixed
This commit is contained in:
Nikita Bobko
2022-01-24 19:59:52 +01:00
committed by Space
parent e8d64542b0
commit 81b4760907
+11
View File
@@ -97,6 +97,17 @@ java {
} }
} }
tasks.compileJava {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
tasks.compileKotlin {
kotlinOptions.jvmTarget = "1.8"
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
projectTest(parallel = true) { projectTest(parallel = true) {
// do not replace with compile/runtime dependency, // do not replace with compile/runtime dependency,
// because it forces Intellij reindexing after each compiler change // because it forces Intellij reindexing after each compiler change