From 9f6b20b9d980df7551753ecd04349b10c77beb88 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 13 Jul 2018 18:15:37 +1000 Subject: Allow BuildTools itself to run on Java 11 --- pom.xml | 2 +- src/main/java/org/spigotmc/builder/Bootstrap.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a5c5659..1eb1f77 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ com.google.code.gson gson - 2.8.2 + 2.8.5 compile diff --git a/src/main/java/org/spigotmc/builder/Bootstrap.java b/src/main/java/org/spigotmc/builder/Bootstrap.java index 1628d73..34cb95e 100644 --- a/src/main/java/org/spigotmc/builder/Bootstrap.java +++ b/src/main/java/org/spigotmc/builder/Bootstrap.java @@ -20,9 +20,9 @@ public class Bootstrap System.err.println( "*** WARNING *** You may use java -version to double check your Java version." ); } - if ( javaVersion > 54.0 ) + if ( javaVersion > 55.0 ) { - System.err.println( "*** WARNING *** Unsupported Java detected (" + javaVersion + "). BuildTools has only been tested up to Java 10. Use of development Java version is not supported." ); + System.err.println( "*** WARNING *** Unsupported Java detected (" + javaVersion + "). BuildTools has only been tested up to Java 11. Use of development Java version is not supported." ); System.err.println( "*** WARNING *** You may use java -version to double check your Java version." ); } -- cgit v1.2.3