Set Maven to build against Java 21

This commit is contained in:
Intelli 2024-05-13 17:46:16 -06:00
parent 29225a4a59
commit 48b1fe22d3
1 changed files with 1 additions and 1 deletions

View File

@ -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