Skip to content

Instantly share code, notes, and snippets.

@ryanpadilha
Last active May 6, 2025 19:46
Show Gist options
  • Save ryanpadilha/b25e1da87cfb9f4a37afeca69d0297f8 to your computer and use it in GitHub Desktop.
Save ryanpadilha/b25e1da87cfb9f4a37afeca69d0297f8 to your computer and use it in GitHub Desktop.
Gradle Compatibility Matrix

Reported issue: gradle/gradle#27272

Gradle Compatibility Matrix: https://docs.gradle.org/8.1.1/userguide/compatibility.html

Gradle Wrapper Basics: https://docs.gradle.org/current/userguide/gradle_wrapper_basics.html


Your build is currently configured to use incompatible Java 21.0.7 and Gradle 8.1.1. Cannot sync the project.

We recommend upgrading to Gradle version 8.12.

The minimum compatible Gradle version is 8.5.

The maximum compatible Gradle JVM version is 19.

Possible solutions:

  • Upgrade to Gradle 8.12 and re-sync
  • Upgrade to Gradle 8.5 and re-sync
  • Use Java 19 as Gradle JVM: Open Gradle settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment