Skip to content

Commit 00224f8

Browse files
committed
ci(workflow): switch to Zulu JDK and downgrade Java version
- Change JDK distribution from Temurin to Zulu in GitHub Actions - Downgrade Java source and target compatibility from 17 to 11 in demo and plugin modules
1 parent eb3b784 commit 00224f8

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/android-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/setup-java@v4
2323
with:
2424
java-version: ${{ matrix.jdk }}
25-
distribution: 'temurin'
25+
distribution: 'zulu'
2626
cache: gradle
2727

2828
- name: Grant execute permission for gradlew

demo/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ android {
4444
}
4545

4646
compileOptions {
47-
sourceCompatibility JavaVersion.VERSION_17
48-
targetCompatibility JavaVersion.VERSION_17
47+
sourceCompatibility JavaVersion.VERSION_11
48+
targetCompatibility JavaVersion.VERSION_11
4949
encoding "UTF-8"
5050
}
5151

plugin/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ android {
1818
}
1919

2020
compileOptions {
21-
sourceCompatibility JavaVersion.VERSION_17
22-
targetCompatibility JavaVersion.VERSION_17
21+
sourceCompatibility JavaVersion.VERSION_11
22+
targetCompatibility JavaVersion.VERSION_11
2323
encoding "UTF-8"
2424
}
2525

0 commit comments

Comments
 (0)