Skip to content

Commit 861ec0f

Browse files
committed
Migrate to OpenJDK 11
1 parent 00630e8 commit 861ec0f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
dist: trusty
21
language: java
2+
jdk:
3+
- openjdk11
34

45
services:
56
- docker

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM frolvlad/alpine-java:jdk8-slim
1+
FROM adoptopenjdk/openjdk11:alpine-jre
22

33
VOLUME /tmp
44
COPY build/libs/faf-java-api-*.jar app.jar

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ apply plugin: 'idea'
112112
group = 'faforever'
113113
version = 'snapshot'
114114

115-
sourceCompatibility = 1.8
116-
targetCompatibility = 1.8
115+
sourceCompatibility = 11
116+
targetCompatibility = 11
117117

118118
repositories {
119119
mavenCentral()

0 commit comments

Comments
 (0)