We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3173f82 commit 4e00361Copy full SHA for 4e00361
.github/actions/prepare_env/action.yml
@@ -13,6 +13,7 @@ runs:
13
distribution: ${{ matrix.jdk_vendor }}
14
java-version: |
15
24
16
+ 21
17
18
cache: 'gradle'
19
- name: Set JAVA_HOME_{N}
SwiftKitCore/build.gradle
@@ -43,11 +43,13 @@ publishing {
43
44
java {
45
toolchain {
46
- languageVersion.set(JavaLanguageVersion.of(17))
+ languageVersion.set(JavaLanguageVersion.of(21))
47
}
48
- // Support Android 6+ (Java 7)
49
- sourceCompatibility = JavaVersion.VERSION_17
50
- targetCompatibility = JavaVersion.VERSION_17
+}
+
+tasks.withType(JavaCompile).configureEach {
51
+ // Support Java 11
52
+ options.release.set(11)
53
54
55
dependencies {
0 commit comments