summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-13 18:15:37 +1000
committermd_5 <git@md-5.net>2018-07-13 18:15:37 +1000
commit9f6b20b9d980df7551753ecd04349b10c77beb88 (patch)
treea8516eb64fcffe7bd5f8c8a31e2e605852141a5e
parentd729b3d1183b6e96922fa96930b016825aba5ce0 (diff)
downloadbuildtools-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.xml2
-rw-r--r--src/main/java/org/spigotmc/builder/Bootstrap.java4
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 @@
<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." );
}