2
0
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:
mcarare 2023-02-08 18:07:50 +02:00 committed by mergify[bot]
parent 5a0b9d754d
commit a1c6d5a2d2

View File

@ -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"