Fix build with JDK 11

This commit is contained in:
GeorgH93 2019-12-13 21:13:42 +01:00
parent c2247f934d
commit f2e5e0e399
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
sudo: false sudo: false
language: java language: java
jdk: openjdk8 jdk:
- openjdk8
- openjdk11
cache: cache:
directories: directories:

View File

@ -111,7 +111,7 @@
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version> <version>3.8.1</version>
<configuration> <configuration>
<source>1.8</source> <source>1.8</source>
<target>1.8</target> <target>1.8</target>