From 22dbf86827a34548f7e7c391458d97c4837fd414 Mon Sep 17 00:00:00 2001 From: Filip Prochazka Date: Sun, 24 Nov 2024 17:32:18 +0100 Subject: [PATCH] buildSrc: set jvm target to 21 --- buildSrc/build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index d5c2245..a3a7625 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -13,3 +13,9 @@ dependencies { implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.1.0") implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.1.0") } + +tasks.withType { + compilerOptions { + jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21 // This option specifies the target version of the generated JVM bytecode + } +}