From 56498633b2c8778ae38fb980b25ad91e2ffac5f1 Mon Sep 17 00:00:00 2001 From: Florian Wendland Date: Tue, 14 Mar 2023 14:59:02 +0100 Subject: [PATCH] Move to Java 17 incl. updates to build environment (#688) * Move to Java 17 incl. updates to build environment * Update to Gh workflows to Java 17, distro Eclipse Temurin * Update to Java 17 prerequisite * Update docs to mention Java 17 --- .github/workflows/codecov.yml | 4 ++-- .github/workflows/detekt.yml | 4 ++-- Dockerfile | 10 +++++----- README.md | 2 +- docs/Getting Started/cli.md | 2 +- docs/Getting Started/installation.md | 2 +- docs/contributors/code.md | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 0e31512fb..b04e6b8c5 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -17,8 +17,8 @@ jobs: - name: Setup Java uses: actions/setup-java@v3 with: - distribution: "zulu" - java-version: 11 + distribution: "temurin" + java-version: 17 - name: Generate coverage report uses: gradle/gradle-build-action@v2 with: diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml index b9bfb49fb..bcb5c6496 100644 --- a/.github/workflows/detekt.yml +++ b/.github/workflows/detekt.yml @@ -22,8 +22,8 @@ jobs: - name: Setup Java uses: actions/setup-java@v3 with: - distribution: "zulu" - java-version: 11 + distribution: "temurin" + java-version: 17 - name: Run analysis uses: gradle/gradle-build-action@v2 diff --git a/Dockerfile b/Dockerfile index 3348e954f..cb8cc0539 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:11.0.17_8-jre +FROM eclipse-temurin:17-jre LABEL org.opencontainers.image.authors="Fraunhofer AISEC " @@ -6,14 +6,14 @@ LABEL org.opencontainers.image.authors="Fraunhofer AISEC --- ## Prerequisites -* Java 11 or higher +* Java 17 or higher ## Build from Source diff --git a/docs/contributors/code.md b/docs/contributors/code.md index fdf79742a..2a004def4 100644 --- a/docs/contributors/code.md +++ b/docs/contributors/code.md @@ -10,7 +10,7 @@ description: > ## Prerequisites -* Java (OpenJDK) 11 or later +* Java SE 17 or later ## Check out, build, and extend Codyze