Skip to content

Commit f69d84a

Browse files
authored
Drop the java.toolchain version to 17, which has a Corretto LTS release (#304)
1 parent 31fd9e3 commit f69d84a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/prepare_env/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
java-version: |
1212
24
1313
21
14-
19
14+
17
1515
cache: 'gradle'
1616
- name: Set JAVA_HOME_{N}
1717
shell: bash

SwiftKitCore/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ repositories {
2525

2626
java {
2727
toolchain {
28-
// JDK 19 is the last JDK to support Java 7
29-
languageVersion.set(JavaLanguageVersion.of(19))
28+
languageVersion.set(JavaLanguageVersion.of(17))
3029
}
3130
// Support Android 6+ (Java 7)
3231
sourceCompatibility = JavaVersion.VERSION_1_7
32+
targetCompatibility = JavaVersion.VERSION_1_7
3333
}
3434

3535
dependencies {

0 commit comments

Comments
 (0)