From de67175c6750163e9eb1040ad78e50473ac19695 Mon Sep 17 00:00:00 2001 From: Tobias Knell Date: Thu, 22 Feb 2024 08:02:51 +0100 Subject: [PATCH] Revert to java 17 for android compatibility * 21 should be possible in the future --- .github/workflows/maven.yml | 6 +++--- pom.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 74373e4..1e21200 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '21' ] + java: [ '17' ] steps: - uses: actions/checkout@v2 - name: Set up JDK @@ -28,14 +28,14 @@ jobs: - name: Compile run: ./mvnw --batch-mode clean compile build: - name: build with jdk 21 + name: build with jdk 17 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 21 + java-version: 17 - uses: actions/cache@v2 with: path: ~/.m2/repository diff --git a/pom.xml b/pom.xml index c32afb6..5f29e52 100644 --- a/pom.xml +++ b/pom.xml @@ -21,8 +21,8 @@ UTF-8 - 21 - 21 + 17 + 17