From ca0c2d3d0bb7fb2e04364508e8429b249c412669 Mon Sep 17 00:00:00 2001 From: "Adam M. Szalkowski" Date: Thu, 31 Aug 2023 10:04:52 +0200 Subject: [PATCH] fix: update to JDK 17 --- .github/workflows/android-master.yml | 4 ++-- .github/workflows/android-pr.yml | 4 ++-- .github/workflows/android-release.yml | 4 ++-- ActivityLauncherApp/build.gradle | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/android-master.yml b/.github/workflows/android-master.yml index a92118b9..a3ba9552 100644 --- a/.github/workflows/android-master.yml +++ b/.github/workflows/android-master.yml @@ -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 diff --git a/.github/workflows/android-pr.yml b/.github/workflows/android-pr.yml index ccbcbe15..2487762c 100644 --- a/.github/workflows/android-pr.yml +++ b/.github/workflows/android-pr.yml @@ -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 diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 0a474658..cda8d3e1 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -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 diff --git a/ActivityLauncherApp/build.gradle b/ActivityLauncherApp/build.gradle index bf1ffcf8..8425cabe 100644 --- a/ActivityLauncherApp/build.gradle +++ b/ActivityLauncherApp/build.gradle @@ -23,8 +23,8 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } bundle { language {