mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2025-01-29 22:51:21 +01:00
Set Maven to build against Java 21
This commit is contained in:
parent
cd7a71648b
commit
d45ac1b275
@ -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…
Reference in New Issue
Block a user