[K/N][perf] Set jvmTarget in the build
Set 1.8 as jvmTargets to match JavaCompile tasks targetCompatibility version
This commit is contained in:
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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user