mirror of
https://github.com/ActivityLauncher/ActivityLauncher.git
synced 2026-08-09 08:53:26 +00:00
fix: update to JDK 17
This commit is contained in:
parent
7cfc102d38
commit
ca0c2d3d0b
4 changed files with 8 additions and 8 deletions
4
.github/workflows/android-master.yml
vendored
4
.github/workflows/android-master.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
4
.github/workflows/android-pr.yml
vendored
4
.github/workflows/android-pr.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
4
.github/workflows/android-release.yml
vendored
4
.github/workflows/android-release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ android {
|
|||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
targetCompatibility JavaVersion.VERSION_11
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
bundle {
|
||||
language {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue