Skip to content

Commit

Permalink
fix: update to JDK 17
Browse files Browse the repository at this point in the history
  • Loading branch information
butzist committed Aug 31, 2023
1 parent 7cfc102 commit ca0c2d3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 11
java-version: 17
cache: 'gradle'
- name: Prepare Android keystore
run: echo ${{ secrets.ENCODEDKEYSTORE }} | base64 --decode > ActivityLauncherApp/keystore.jks
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/android-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 11
java-version: 17
cache: 'gradle'
- name: Download dependencies
run: ./gradlew androidDependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Set version
id: version
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 11
java-version: 17
cache: 'gradle'
- name: Prepare Android keystore
run: echo ${{ secrets.ENCODEDKEYSTORE }} | base64 --decode > ActivityLauncherApp/keystore.jks
Expand Down
4 changes: 2 additions & 2 deletions ActivityLauncherApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
bundle {
language {
Expand Down

0 comments on commit ca0c2d3

Please sign in to comment.