Skip to content

Conversation

ShreckYe
Copy link
Member

@ShreckYe ShreckYe commented Nov 2, 2024

No description provided.

@ShreckYe ShreckYe self-assigned this Nov 2, 2024
… run "check" instead of "build", and use gradle/actions of a the latest release version
The fix in the previous commit doesn't work.
The error message from the GitHub Actions workflow:
```text
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
   > Could not resolve com.android.tools.build:gradle:8.5.2.
     Required by:
         project :buildSrc
      > Dependency requires at least JVM runtime version 11. This build uses a Java 8 JVM.
```
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`.
```
Android Gradle plugin requires Java 17 to run. See commit 82a9e40 for more details.
@ShreckYe ShreckYe force-pushed the github-actions-and-github-pages branch from b72964f to eccc63f Compare November 4, 2024 00:17
@ShreckYe ShreckYe merged commit 5e0294d into main Nov 4, 2024
6 checks passed
@ShreckYe ShreckYe deleted the github-actions-and-github-pages branch November 4, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant