Skip to content

Fixing build error: "Android Gradle plugin requires Java 17 to run. You are...

This manual update is needed to fix F-Droid the build error that occurred after we updated Android Gradle Plugin (and Gradle), so it requires Java 17 now: "Android Gradle plugin requires Java 17 to run. You are currently using Java 11." see the fdroid build log: https://gitlab.com/fdroid/fdroiddata/-/jobs/5462747326 (pipeline: https://gitlab.com/fdroid/fdroiddata/-/pipelines/1061610051 )

I added "sudo" section with java17 reference to the new build version section using other F-Droid apps as an example.

Required

Strongly Recommended

  • The upstream app source code repo contains the app metadata (summary/description/images/changelog/etc) in a Fastlane or Triple-T folder structure
  • Releases are tagged

Merge request reports