diff options
author | md_5 <git@md-5.net> | 2018-07-13 18:15:37 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-07-13 18:15:37 +1000 |
commit | 9f6b20b9d980df7551753ecd04349b10c77beb88 (patch) | |
tree | a8516eb64fcffe7bd5f8c8a31e2e605852141a5e | |
parent | d729b3d1183b6e96922fa96930b016825aba5ce0 (diff) | |
download | buildtools-9f6b20b9d980df7551753ecd04349b10c77beb88.tar buildtools-9f6b20b9d980df7551753ecd04349b10c77beb88.tar.gz buildtools-9f6b20b9d980df7551753ecd04349b10c77beb88.tar.lz buildtools-9f6b20b9d980df7551753ecd04349b10c77beb88.tar.xz buildtools-9f6b20b9d980df7551753ecd04349b10c77beb88.zip |
Allow BuildTools itself to run on Java 11
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/main/java/org/spigotmc/builder/Bootstrap.java | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -64,7 +64,7 @@ <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> - <version>2.8.2</version> + <version>2.8.5</version> <scope>compile</scope> </dependency> </dependencies> 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." ); } |