v0.8.0: improved desktop dialog boxes, now use tinyFD instead of swing

This commit is contained in:
Evan Debenham
2019-12-04 23:15:27 -05:00
parent bc3aa927a5
commit 777dc8933a
3 changed files with 33 additions and 12 deletions

View File

@@ -56,6 +56,12 @@ dependencies {
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
//we use LWJGL tinyFD directly to display crash messages and (for now) single-line text input
implementation "org.lwjgl:lwjgl-tinyfd:3.2.1"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.1:natives-windows"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.1:natives-macos"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.1:natives-linux"
//Need these at compile time to prevent errors there.
// The actual dependency used at runtime will vary based on source set.
compileOnly project(':services:updates:debugUpdates')