chore(java11): compile with Java 11 (but using -source 8 -target 8)
MODIFY
.github/workflows/build.yml
.github/workflows/build.yml
@@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
- java-version: 8
+ java-version: 11
- name: Build
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}

MODIFY
.github/workflows/pr.yml
.github/workflows/pr.yml
@@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
- java-version: 8
+ java-version: 11
- uses: actions/cache@v1
with:
path: ~/.gradle

MODIFY
.github/workflows/release.yml
.github/workflows/release.yml
@@ -14,7 +14,7 @@ jobs:
- run: git fetch --prune --unshallow
- uses: actions/setup-java@v1
with:
- java-version: 8
+ java-version: 11
- name: Assemble release info
id: release_info
env:

MODIFY
Dockerfile.compile
Dockerfile.compile
-FROM openjdk:8
+FROM openjdk:11
MAINTAINER sig-platform@spinnaker.io
ENV GRADLE_USER_HOME /workspace/.gradle
ENV GRADLE_OPTS -Xmx2048m

chore(java11): compile with Java 11 (but using -source 8 -target 8) (#1108)