diff --git a/README.md b/README.md index 1f96b49..073cafd 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ That's all! You will start an example app [ImGuiGlfwExample](https://github.com/ ## How to Use +
+ With Gradle + ``` repositories { jcenter() @@ -65,8 +68,133 @@ dependencies { } } ``` +
-Alternatively you can download imgui-java binaries manually from the [release page](https://github.com/SpaiR/imgui-java/releases/latest). You'll need to provide a VM option: `imgui.library.path` or `java.library.path`. It should point to the folder where you've placed downloaded binaries. +
+ With Maven + +``` + + + + jcenter + https://jcenter.bintray.com/ + + + + + 3.2.3 + 1.76-0.10 + UTF-8 + UTF-8 + 1.8 + 1.8 + 1.8 + + + + + + lwjgl-natives-linux-amd64 + + + unix + amd64 + + + + natives-linux + + + + lwjgl-natives-windows-amd64 + + + windows + amd64 + + + + natives-windows + + + + lwjgl-natives-windows-x86 + + + windows + x86 + + + + natives-windows-x86 + + + + + + + + org.lwjgl + lwjgl-bom + ${lwjgl.version} + import + pom + + + + + + + + io.imgui.java + binding + ${imgui.java.version} + + + io.imgui.java + lwjgl3 + ${imgui.java.version} + + + io.imgui.java + ${natives} + ${imgui.java.version} + + + + + org.lwjgl + lwjgl + + + org.lwjgl + lwjgl-glfw + + + org.lwjgl + lwjgl-opengl + + + org.lwjgl + lwjgl + ${natives} + + + org.lwjgl + lwjgl-glfw + ${natives} + + + org.lwjgl + lwjgl-opengl + ${natives} + + +``` +
+ +You can download imgui-java manually from the [release page](https://github.com/SpaiR/imgui-java/releases/latest). For the natives to work you'll need to provide a VM option: `imgui.library.path` or `java.library.path`. It should point to the folder where you've placed downloaded binaries. **You are ready to use imgui-java binding!**