abarichello / godot-ci

Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
https://hub.docker.com/r/barichello/godot-ci
MIT License
758 stars 133 forks source link

Update Java version to 11 #78

Closed mk-5 closed 2 years ago

mk-5 commented 2 years ago

I got a problem related to Android Release with custom build template.

* What went wrong:
A problem occurred evaluating root project 'build'.
> Failed to apply plugin 'com.android.internal.application'.
   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
     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`.

The solution is simple to install jdk-11 instead of jdk-8. Jdk8 is almost out of support anyway