Build against Java 8.

Java 7 is EOL, and according to the metrics, this change affects less than 1% of MobArena servers.

Fixes #404, closes #410.
This commit is contained in:
Andreas Troelsen 2018-04-17 18:18:05 +02:00
parent 8b40f415be
commit a91c5e7a74
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,3 @@
language: java
jdk:
- oraclejdk8
- openjdk7

View File

@ -11,14 +11,14 @@
<build>
<plugins>
<!-- Use Java 7 for compilation -->
<!-- Use Java 8 for compilation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>