diff --git a/tests/build.gradle.kts b/tests/build.gradle.kts index 5b714f2b3..196402d66 100644 --- a/tests/build.gradle.kts +++ b/tests/build.gradle.kts @@ -24,6 +24,12 @@ javaVersion { version = JavaVersion.VERSION_21 } +java { + toolchain { + languageVersion = JavaLanguageVersion.of(21) + } +} + dependencies { testImplementation(project(":core")) testImplementation(project(":classlib"))