From 4f7c4c1e60903491bec635a2ee342e3776cbbcb1 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 27 May 2021 13:30:30 -0400 Subject: [PATCH] java 16 --- .github/workflows/build.yml | 2 +- Jenkinsfile | 8 ++++---- PATCHES.md | 4 ++-- build.gradle.kts | 6 +++--- patches/api/{0009-java-11.patch => 0009-java-16.patch} | 8 ++++---- patches/server/{0071-java-11.patch => 0071-java-16.patch} | 8 ++++---- 6 files changed, 18 insertions(+), 18 deletions(-) rename patches/api/{0009-java-11.patch => 0009-java-16.patch} (74%) rename patches/server/{0071-java-11.patch => 0071-java-16.patch} (69%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a35f3517..b712b8b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '11', '15', '16' ] + java: [ '16' ] fail-fast: false steps: - uses: actions/checkout@v2 diff --git a/Jenkinsfile b/Jenkinsfile index cbfd930a..d16edf57 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { stages { stage('Cleanup') { tools { - jdk "OpenJDK 11" + jdk "OpenJDK 16" } steps { scmSkip(deleteBuild: true, skipPattern:'.*\\[CI-SKIP\\].*') @@ -29,7 +29,7 @@ pipeline { } stage('Init project & submodules') { tools { - jdk "OpenJDK 11" + jdk "OpenJDK 16" } steps { withMaven( @@ -43,7 +43,7 @@ pipeline { } stage('Decompile & apply patches') { tools { - jdk "OpenJDK 11" + jdk "OpenJDK 16" } steps { withMaven( @@ -60,7 +60,7 @@ pipeline { } stage('Build') { tools { - jdk "OpenJDK 11" + jdk "OpenJDK 16" } steps { withMaven( diff --git a/PATCHES.md b/PATCHES.md index 280d865d..65a09546 100644 --- a/PATCHES.md +++ b/PATCHES.md @@ -456,8 +456,8 @@ # Patches | server | Zombie horse naturally spawn | William Blake Galbreath | | | server | add config for logging login location | Simon Gardling | | | server | dont load chunks for physics | Aikar | | -| api | java 11 | Simon Gardling | | -| server | java 11 | Simon Gardling | | +| api | java 16 | Simon Gardling | | +| server | java 16 | Simon Gardling | | | server | lithium DataTrackerMixin | JellySquid | tr7zw | | server | lithium HashedList | JellySquid | | | server | lithium MixinBox | JellySquid | | diff --git a/build.gradle.kts b/build.gradle.kts index a9b9efdb..67804d5e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,10 +59,10 @@ subprojects { } java { - if(JavaVersion.VERSION_11 > JavaVersion.current()){ - error("This build must be run with Java 11 or later") + if(JavaVersion.VERSION_16 > JavaVersion.current()){ + error("This build must be run with Java 16 or later") } - sourceCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_16 targetCompatibility = JavaVersion.current() withSourcesJar() } diff --git a/patches/api/0009-java-11.patch b/patches/api/0009-java-16.patch similarity index 74% rename from patches/api/0009-java-11.patch rename to patches/api/0009-java-16.patch index 9c4dd00c..4d92a04f 100644 --- a/patches/api/0009-java-11.patch +++ b/patches/api/0009-java-16.patch @@ -1,11 +1,11 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Fri, 23 Apr 2021 11:11:13 -0400 -Subject: [PATCH] java 11 +Subject: [PATCH] java 16 diff --git a/pom.xml b/pom.xml -index a6a2fd50e685f64afecac5da6aaaad6227a3731e..57ca52e776df7429497f25c90cf6550fa0c8ef9b 100644 +index a6a2fd50e685f64afecac5da6aaaad6227a3731e..a3a11d11181763a212727ad81ae6167a292c6f1c 100644 --- a/pom.xml +++ b/pom.xml @@ -19,8 +19,8 @@ @@ -14,8 +14,8 @@ index a6a2fd50e685f64afecac5da6aaaad6227a3731e..57ca52e776df7429497f25c90cf6550f - 1.8 - 1.8 -+ 11 -+ 11 ++ 16 ++ 16 UTF-8 4.7.0 diff --git a/patches/server/0071-java-11.patch b/patches/server/0071-java-16.patch similarity index 69% rename from patches/server/0071-java-11.patch rename to patches/server/0071-java-16.patch index 214c1ecb..b704f774 100644 --- a/patches/server/0071-java-11.patch +++ b/patches/server/0071-java-16.patch @@ -1,11 +1,11 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Fri, 23 Apr 2021 11:11:20 -0400 -Subject: [PATCH] java 11 +Subject: [PATCH] java 16 diff --git a/pom.xml b/pom.xml -index e8884c5f79f0550dd479074f1b69e8b9f7b68784..dbabe103fecd075df7134619ff05e603b02e99ce 100644 +index e8884c5f79f0550dd479074f1b69e8b9f7b68784..620bd31a4356cb170720b4be3512791c93069131 100644 --- a/pom.xml +++ b/pom.xml @@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@ index e8884c5f79f0550dd479074f1b69e8b9f7b68784..dbabe103fecd075df7134619ff05e603 1_16_R3 - 1.8 - 1.8 -+ 11 -+ 11 ++ 16 ++ 16