diff --git a/build.gradle b/build.gradle index 85f1a2b3..9f1ab378 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