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 }