From ddca37ab732bd646526d03079073215d7d1a1e94 Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Sun, 9 Oct 2022 23:39:39 +0200 Subject: [PATCH] Require Java 11 compiler (JRE 1.8 compatible) --- README.md | 6 +++--- pom.xml | 15 +++++++++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7bd5a0350..9f57cf406 100644 --- a/README.md +++ b/README.md @@ -116,16 +116,16 @@ You can also create your own translation file and, if you want, you can share it ## Requirements ##### Compiling requirements: ->- JDK 8 (JDK 17 is recommended) +>- JDK 11 (JDK 17 is recommended) >- Maven >- Git/Github (Optional) ##### How to compile the project: ->- Clone the project with Git/Github +>- Clone the project with Git/GitHub >- Execute command "mvn clean package" ##### Running requirements: ->- Java 8 (Java 11 is recommended) +>- Java 8 (Java 17 is recommended) >- Paper or Spigot (1.8.X and up)
(In case you use Thermos, Cauldron or similar, you have to update the SpecialSource library to support Java 8 plugins. HowTo: https://github.com/games647/FastLogin/issues/111#issuecomment-272331347) diff --git a/pom.xml b/pom.xml index 718e018cc..d22800c67 100644 --- a/pom.xml +++ b/pom.xml @@ -60,8 +60,11 @@ UTF-8 UTF-8 - 1.8 - 3.6.0 + 1.8 + 1.8 + 8 + 11 + 3.6.3 1.19-R0.1-SNAPSHOT @@ -173,6 +176,9 @@ ${maven.minimumVersion} + + [11,) + true @@ -197,8 +203,9 @@ maven-compiler-plugin 3.10.1 - ${java.version} - ${java.version} + ${java.source} + ${java.target} + ${java.apiVersion}