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 language: java
jdk: jdk:
- oraclejdk8 - oraclejdk8
- openjdk7

View File

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