Skip to content

Commit 467451b

Browse files
committed
update jdk 19 -> 21
Signed-off-by: Neko Qiqi <lingqiqi233@gmail.com>
1 parent a3b19af commit 467451b

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
fetch-depth: 0
2626
submodules: true
2727

28-
- name: Set up JDK 20
28+
- name: Set up JDK 21
2929
uses: actions/setup-java@v4
3030
with:
31-
java-version: '20'
31+
java-version: '21'
3232
distribution: 'temurin'
3333
cache: gradle
3434

.github/workflows/android_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
fetch-depth: 0
2626
submodules: true
2727

28-
- name: Set up JDK 20
28+
- name: Set up JDK 21
2929
uses: actions/setup-java@v4
3030
with:
31-
java-version: '20'
31+
java-version: '21'
3232
distribution: 'temurin'
3333
cache: gradle
3434

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ android {
141141
}
142142

143143
compileOptions {
144-
sourceCompatibility JavaVersion.VERSION_19
145-
targetCompatibility JavaVersion.VERSION_19
144+
sourceCompatibility JavaVersion.VERSION_21
145+
targetCompatibility JavaVersion.VERSION_21
146146
}
147147

148148
kotlinOptions {
149-
jvmTarget = JavaVersion.VERSION_19.toString()
149+
jvmTarget = JavaVersion.VERSION_21.toString()
150150
}
151151

152152
}

0 commit comments

Comments
 (0)