Skip to content

Commit

Permalink
Merge pull request #46 from synyx/revert-to-java-17-for-android-compa…
Browse files Browse the repository at this point in the history
…tibility

Revert to java 17 for android compatibility
  • Loading branch information
tknell authored Feb 22, 2024
2 parents 50b8b75 + de67175 commit 151bf7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '21' ]
java: [ '17' ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

<licenses>
Expand Down

0 comments on commit 151bf7e

Please sign in to comment.