Skip to content

Commit 82a9e40

Browse files
committed
Bump the JDK version to 17 in the workflow file
The error message from the GitHub Actions workflow: ```text An exception occurred applying plugin request [id: 'com.android.library'] > Failed to apply plugin 'com.android.internal.library'. > Android Gradle plugin requires Java 17 to run. You are currently using Java 11. Your current JDK is located in /usr/lib/jvm/temurin-11-jdk-amd64 You can try some of the following options: - changing the IDE settings. - changing the JAVA_HOME environment variable. - changing `org.gradle.java.home` in `gradle.properties`. ```
1 parent 325f4ae commit 82a9e40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/demo-gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
- name: Setup Pages
3232
uses: actions/configure-pages@v5
3333

34-
- name: Set up JDK 11
34+
- name: Set up JDK 17
3535
uses: actions/setup-java@v4
3636
with:
37-
java-version: "11"
37+
java-version: "17"
3838
distribution: "temurin"
3939

4040
- name: Setup Gradle

0 commit comments

Comments
 (0)