mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
Bug 1802817 - Set jvmTarget to 11.
compile Java With Javac tasks and compile Kotlin task jvm target compatibility should be set to the same Java version.
This commit is contained in:
parent
5a0b9d754d
commit
a1c6d5a2d2
@ -146,7 +146,7 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
kotlinOptions.jvmTarget = "11"
|
||||||
kotlinOptions.allWarningsAsErrors = true
|
kotlinOptions.allWarningsAsErrors = true
|
||||||
kotlinOptions.freeCompilerArgs += [
|
kotlinOptions.freeCompilerArgs += [
|
||||||
"-opt-in=kotlin.RequiresOptIn", "-Xjvm-default=all"
|
"-opt-in=kotlin.RequiresOptIn", "-Xjvm-default=all"
|
||||||
|
Loading…
Reference in New Issue
Block a user