diff --git a/bulk-model-sync-gradle/build.gradle.kts b/bulk-model-sync-gradle/build.gradle.kts index 72a08f4cfc..69c9249f11 100644 --- a/bulk-model-sync-gradle/build.gradle.kts +++ b/bulk-model-sync-gradle/build.gradle.kts @@ -3,6 +3,14 @@ plugins { `java-gradle-plugin` } +tasks.test { + javaLauncher.set( + javaToolchains.launcherFor { + languageVersion.set(JavaLanguageVersion.of(21)) + }, + ) +} + dependencies { implementation(project(":model-client", "jvmRuntimeElements")) implementation(project(":bulk-model-sync-lib"))