From 02ca46418f60bef965b4f64adc87c354040b6ee3 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Fri, 10 May 2024 19:41:35 +0200 Subject: [PATCH] Fix build --- plugins/kspProcessor/build.gradle.kts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/kspProcessor/build.gradle.kts b/plugins/kspProcessor/build.gradle.kts index a462e28e..b6fb856d 100644 --- a/plugins/kspProcessor/build.gradle.kts +++ b/plugins/kspProcessor/build.gradle.kts @@ -1,3 +1,5 @@ +import org.jetbrains.kotlin.gradle.dsl.JvmTarget + plugins { kotlin("jvm") } @@ -14,4 +16,12 @@ kotlin { compilerOptions { freeCompilerArgs.add("-Xcontext-receivers") } + + compilerOptions { + jvmTarget = JvmTarget.JVM_21 + } +} + +java { + sourceCompatibility = JavaVersion.VERSION_21 }