Skip to content

Commit

Permalink
update jdk 19 -> 21
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Qiqi <[email protected]>
  • Loading branch information
lingqiqi5211 committed Mar 14, 2024
1 parent a3b19af commit 467451b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
fetch-depth: 0
submodules: true

- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '20'
java-version: '21'
distribution: 'temurin'
cache: gradle

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 @@ -25,10 +25,10 @@ jobs:
fetch-depth: 0
submodules: true

- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '20'
java-version: '21'
distribution: 'temurin'
cache: gradle

Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_19
targetCompatibility JavaVersion.VERSION_19
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_19.toString()
jvmTarget = JavaVersion.VERSION_21.toString()
}

}
Expand Down

0 comments on commit 467451b

Please sign in to comment.