From a1c6d5a2d25964abb4d433207ea3b411f8218620 Mon Sep 17 00:00:00 2001 From: mcarare <48995920+mcarare@users.noreply.github.com> Date: Wed, 8 Feb 2023 18:07:50 +0200 Subject: [PATCH] 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. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index bc7f6909d6..72138b4dbc 100644 --- a/build.gradle +++ b/build.gradle @@ -146,7 +146,7 @@ allprojects { } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { - kotlinOptions.jvmTarget = "1.8" + kotlinOptions.jvmTarget = "11" kotlinOptions.allWarningsAsErrors = true kotlinOptions.freeCompilerArgs += [ "-opt-in=kotlin.RequiresOptIn", "-Xjvm-default=all"