fix: update to JDK 17

This commit is contained in:
Adam M. Szalkowski 2023-08-31 10:04:52 +02:00
parent 7cfc102d38
commit ca0c2d3d0b
4 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -23,8 +23,8 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
bundle {
language {