From d45ac1b275243524b565f3fe843b01a6532e15b0 Mon Sep 17 00:00:00 2001 From: Intelli Date: Mon, 13 May 2024 17:46:16 -0600 Subject: [PATCH] Set Maven to build against Java 21 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 85f1a2b..9f1ab37 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ String projectVersion = '22.3' String projectBranch = '' version = projectVersion // `version` might be modified, we don't always want that (e.g. plugin.yml) description = 'Provides block protection for your server.' -sourceCompatibility = '17' +sourceCompatibility = '21' if (System.getenv("BUILD_NUMBER") != null) { // Being built in Jenkins, append Build ID