diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a65945626..83b1569fe 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - java: [8, 11, 17, 21, 25] + java: [17, 21, 25] name: Java ${{ matrix.java }} diff --git a/bootstrap/pom.xml b/bootstrap/pom.xml index e3c50b3b2..6f37a4f44 100644 --- a/bootstrap/pom.xml +++ b/bootstrap/pom.xml @@ -22,8 +22,7 @@ true true true - 1.6 - 1.6 + 11 yyyyMMdd @@ -81,34 +80,4 @@ - - - - jdk-9-release - - [9,) - - - 6 - - - - jdk-12-release - - [12,) - - - 7 - - - - jdk-20-release - - [20,) - - - 8 - - - diff --git a/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java b/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java index 6be22739d..6b36c7ccf 100644 --- a/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java +++ b/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java @@ -5,9 +5,9 @@ public class Bootstrap public static void main(String[] args) throws Exception { - if ( Float.parseFloat( System.getProperty( "java.class.version" ) ) < 52.0 ) + if ( Float.parseFloat( System.getProperty( "java.class.version" ) ) < 61.0 ) { - System.err.println( "*** ERROR *** BungeeCord requires Java 8 or above to function! Please download and install it!" ); + System.err.println( "*** ERROR *** BungeeCord requires Java 17 or above to function! Please download and install it!" ); System.out.println( "You can check your Java version with the command: java -version" ); return; } diff --git a/pom.xml b/pom.xml index ccfcbd7a0..4ea91ea80 100644 --- a/pom.xml +++ b/pom.xml @@ -77,8 +77,7 @@ unknown 1.18.44 - 1.8 - 1.8 + 17 UTF-8 @@ -151,6 +150,15 @@ org.apache.maven.plugins maven-compiler-plugin 3.15.0 + + + + org.projectlombok + lombok + ${lombok.version} + + + org.apache.maven.plugins @@ -177,26 +185,6 @@ - - org.codehaus.mojo - animal-sniffer-maven-plugin - 1.27 - - - process-classes - - check - - - - - - org.codehaus.mojo.signature - java18 - 1.0 - - - org.apache.maven.plugins maven-enforcer-plugin @@ -226,62 +214,6 @@ - - jdk-9-release - - [9,) - - - 8 - - - - jdk-9-javadoc - - [9,) - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - -html5 - - - - - - - - jdk-15-javadoc - - [15,) - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - none - - - - - - - - jdk-21-proc - - [21,) - - - full - - dist @@ -334,6 +266,10 @@ jar + + false + -missing +