Skip to content

Commit 0b6cd61

Browse files
committed
Bump the Java 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 0b6cd61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up JDK 11
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)