You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Used to validate the version of the Java SDK used for the Godot gradle builds.
270
270
*/
271
271
task validateJavaVersion {
272
-
if (JavaVersion.current()!=versions.javaVersion) {
273
-
thrownewGradleException("Invalid Java version ${JavaVersion.current()}. Version ${versions.javaVersion} is the required Java version for Godot gradle builds.")
272
+
if (!JavaVersion.current().isCompatibleWith(versions.javaVersion)) {
273
+
thrownewGradleException("Invalid Java version ${JavaVersion.current()}. Version ${versions.javaVersion} is the minimum supported Java version for Godot gradle builds.")
0 commit comments