diff --git a/gradle/kotlin.gradle b/gradle/kotlin.gradle index 2d790a97b..aef735ac5 100644 --- a/gradle/kotlin.gradle +++ b/gradle/kotlin.gradle @@ -5,7 +5,7 @@ apply plugin: "kotlin-allopen" compileKotlin { kotlinOptions { languageVersion = "1.6" - jvmTarget = "11" + jvmTarget = "17" // see https://kotlinlang.org/docs/java-to-kotlin-interop.html#compatibility-mode-for-default-methods freeCompilerArgs += "-Xjvm-default=enable" } @@ -14,7 +14,7 @@ compileKotlin { compileTestKotlin { kotlinOptions { languageVersion = "1.6" - jvmTarget = "11" + jvmTarget = "17" freeCompilerArgs += "-Xjvm-default=enable" } }