KilnGraphics / Blaze4D

Minecraft but with Vulkan.
GNU Lesser General Public License v3.0
270 stars 12 forks source link

Build fails , release version 18 not supported #72

Open pistolparody opened 2 years ago

pistolparody commented 2 years ago
└─$ ./gradlew build
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true

> Configure project :mod
Fabric Loom: 0.12.56

> Task :core:api:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:api:compileJava'.
> error: release version 18 not supported

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
4 actionable tasks: 1 executed, 3 up-to-date

java version

┌──(yolo㉿wisebits)-[~/Workstation/Clones/Blaze4D]
└─$ java --version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
openjdk 17.0.4 2022-07-19
OpenJDK Runtime Environment (build 17.0.4+8-Debian-1)
OpenJDK 64-Bit Server VM (build 17.0.4+8-Debian-1, mixed mode, sharing)
CodingRays commented 2 years ago

A java 18 build system is required