github libgdx/gdx-liftoff v1.12.1.2
1.12.1.2 "Graaltered States"

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

This release only changes about 3 lines of generated projects, but it fixes a strange and frustrating bug. In projects generated with 1.12.1.1, when Graal is enabled, you can only successfully run an LWJGL3 project once until you make some change in the source code. Later runs would just complete immediately and say the run task was "up-to-date." I don't know what caused this, but it seems like some Gradle plugin, somewhere in nativeimage.gradle . Thankfully, 1.12.1.2 (this release) has an easy fix. It makes the run task never be considered "up-to-date," so when you tell it to run, it runs! This didn't ever affect projects that had Graal disabled, and it didn't seem to affect other platforms. It is unclear if run configurations were affected at all. If you want to update a 1.12.1.1 project in-place, it isn't hard at all; in lwjgl3/nativeimage.gradle, change the first few lines from the old:

project(":lwjgl3") {
  apply plugin: "org.graalvm.buildtools.native"

to the new:

project(":lwjgl3") {
  apply plugin: "org.graalvm.buildtools.native"
  run {
    doNotTrackState("Running the app should not be affected by Graal.")
  }

OK, I hope this quick bugfix is helpful!

Don't miss a new gdx-liftoff release

NewReleases is sending notifications on new releases.