Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request updates LibGDX to version 1.9.14.
To see what has changed you can view the release notes for interim LibGDX versions:
In terms of breaking LibGDX API changes:
The
gdx-controllers
library has changed its versioning, so it no longer shares a version number with its corresponding LibGDX release. The version numbers have therefore been changed in the corresponding gradle files that use them.I found that the
libGdxVersion
variable was being defined seperately in two different gradle files, so I removed the variables fromconfig/gradle/common.gradle
so that they are all defined in the same file (build.gradle
in the root directory). I assumed that all variables in anallprojects
block are applied to all sub-projects recursively of the root project.Testing
Keyboard
,Keyboard+Mouse
andController
)This should not require any android changes, as it uses the gradle
gdxVersion
variable rather than hard-coding the version used.Notes
LibGDX 1.9.13 introduced the foregroundFPS setting for the LWJGL3 back-end, which was previously present in the LWJGL2 back-end. I have not used it for now though as there is no equivalent code for the android back-end.
This depends on MovingBlocks/TeraNUI#68, as there can only be one version of LibGDX present on the classpath (and the newer versions have ABI-breaking changes in them).