feat: add imgui

This commit is contained in:
2025-05-16 10:41:33 +02:00
parent 39c7ebefe6
commit dba8e8fb1e
4 changed files with 80 additions and 21 deletions

View File

@@ -16,8 +16,10 @@ repositories {
mavenCentral()
}
def os = "linux";
def lwjgl_version = "3.3.6"
def lwjgl_natives = "natives-linux"
def lwjgl_natives = "natives-$os"
def imgui_version = "1.87.0"
dependencies {
// Use JUnit Jupiter for testing.
@@ -33,6 +35,10 @@ dependencies {
implementation "org.lwjgl:lwjgl-opengl::$lwjgl_natives"
implementation "org.lwjgl:lwjgl-glfw::$lwjgl_natives"
implementation "org.lwjgl:lwjgl-assimp::$lwjgl_natives"
implementation "io.github.spair:imgui-java-binding:$imgui_version"
implementation "io.github.spair:imgui-java-natives-$os:$imgui_version"
implementation "io.github.spair:imgui-java-app:$imgui_version"
}
application {