godot icon indicating copy to clipboard operation
godot copied to clipboard

Godot v4.3.dev3 - android export templates build.gradle validateJavaVersion too strict

Open iwangxiaodong opened this issue 1 year ago • 0 comments
trafficstars

Tested versions

v4.3.dev3.mono.official [36e943b6b]

System information

Godot v4.3.dev3.mono - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 2080 Ti (NVIDIA; 31.0.15.4617) - 12th Gen Intel(R) Core(TM) i5-12490F (12 Threads)

Issue description

android export templates build.gradle validateJavaVersion too strict:

https://github.com/godotengine/godot/blob/41564aaf7708b0bf594f745dd2448a54dd687cc5/platform/android/java/app/build.gradle#L238-L242

Hope to change it to: if (JavaVersion.current() < versions.javaVersion || JavaVersion.current() > JavaVersion.VERSION_20) { /.../ }

Java+Gradle Compatibility - https://docs.gradle.org/current/userguide/compatibility.html#java

Tested: Java 20 + Gradle 8.2.

Steps to reproduce

none.

Minimal reproduction project (MRP)

none.

iwangxiaodong avatar Feb 08 '24 21:02 iwangxiaodong