From b3b72ee249143df08d91057b27c605e77c9771df Mon Sep 17 00:00:00 2001 From: Toni Helenius Date: Sat, 28 Sep 2024 10:36:30 +0300 Subject: [PATCH] Gradle template to use Java 21 --- .../com/jme3/gde/templates/files/freemarker/build.gradle.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jme3-templates/src/com/jme3/gde/templates/files/freemarker/build.gradle.ftl b/jme3-templates/src/com/jme3/gde/templates/files/freemarker/build.gradle.ftl index de8a58da..22d596ed 100644 --- a/jme3-templates/src/com/jme3/gde/templates/files/freemarker/build.gradle.ftl +++ b/jme3-templates/src/com/jme3/gde/templates/files/freemarker/build.gradle.ftl @@ -40,7 +40,7 @@ project(":assets") { java { toolchain { - languageVersion = JavaLanguageVersion.of(17) + languageVersion = JavaLanguageVersion.of(21) } } } @@ -114,7 +114,7 @@ jar { java { toolchain { - languageVersion = JavaLanguageVersion.of(17) + languageVersion = JavaLanguageVersion.of(21) } }