github libgdx/gdx-liftoff v1.12.1.1
1.12.1.1 "Graaling On Hands And Knees"

latest releases: v1.14.0.7, v1.14.0.6, v1.14.0.5...
2 years ago

This release allows Graal Native Image generation in LWJGL3 projects, largely thanks to @Berstanio for making a library for Graal support and PRing changes here. If you have a supported extension selected (one of box2d, bullet, controllers, or freetype), then the Graal Native Image support library will also be added as a dependency. Graal support is disabled by default, so you don't need to download any Graal tools if you don't want them. If you want to enable Graal support, set enableGraalNative=true in gradle.properties (changing it from false), then reload/sync/refresh the project. To run the lwjgl3:nativeCompile task that creates a native executable, there are some extra steps. On Windows, you need a recent Visual Studio (Community, probably) installed, and you might need to run Gradle commands through Visual Studio's "x64 Native Tools Command Prompt" rather than the normal command prompt. On all systems, you will need a good amount of free RAM; 4GB of available memory seems to be enough to build small-to-medium apps. The end result of all of this is a medium-sized .exe file (on Windows) or some other native executable (on other platforms); this .exe doesn't need any JVM installed to run, and also compresses down to a tiny size if you zip it for releases. Decompiling a Graal native image is also significantly harder than a JAR or APK, though far from impossible.

This release also has some improvements to TeaVM, thanks to @HydrolienF ; now you can use up to at least version 17 with TeaVM, though the minimum is still 11. There are some other extension updates, too. Enjoy your adventures through the land of Graal!

Don't miss a new gdx-liftoff release

NewReleases is sending notifications on new releases.