From d5354a8040d76227ef917a08734a64896efa17ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ZX=E5=A4=8F=E5=A4=9C=E4=B9=8B=E9=A3=8E?= Date: Sun, 9 Nov 2025 12:26:50 +0800 Subject: [PATCH] build: the build requires Java 21 now but the final JAR should be Java 17 compatible --- build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 7abec89..f7d5195 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,3 +37,8 @@ tasks { archiveBaseName.set("Ambassador-Velocity") } } + +java { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 +} \ No newline at end of file