Set Maven to build against Java 21
This commit is contained in:
parent
29225a4a59
commit
48b1fe22d3
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ String projectVersion = '22.3'
|
||||||
String projectBranch = ''
|
String projectBranch = ''
|
||||||
version = projectVersion // `version` might be modified, we don't always want that (e.g. plugin.yml)
|
version = projectVersion // `version` might be modified, we don't always want that (e.g. plugin.yml)
|
||||||
description = 'Provides block protection for your server.'
|
description = 'Provides block protection for your server.'
|
||||||
sourceCompatibility = '17'
|
sourceCompatibility = '21'
|
||||||
|
|
||||||
if (System.getenv("BUILD_NUMBER") != null) {
|
if (System.getenv("BUILD_NUMBER") != null) {
|
||||||
// Being built in Jenkins, append Build ID
|
// Being built in Jenkins, append Build ID
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue