[K/N][perf] Set jvmTarget in the build

Set 1.8 as jvmTargets to match JavaCompile tasks
targetCompatibility version
This commit is contained in:
Pavel Punegov
2023-06-23 19:01:48 +02:00
committed by Space Team
parent 767cba5211
commit 854aee4bfb
@@ -108,7 +108,12 @@ gradlePlugin {
}
afterEvaluate {
tasks.withType<JavaCompile> {
tasks.withType<JavaCompile>().configureEach {
targetCompatibility = "1.8"
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "1.8"
}
}
}