From 41d66bb4657c6657030673aaaa16814348deedba Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Mon, 12 Aug 2024 15:06:36 +0200 Subject: [PATCH] Standalone: Remove explicit lwjgl versions in dependencies We already include the bom, which specifies the versions for all the lwjgl things. --- standalone/build.gradle.kts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/standalone/build.gradle.kts b/standalone/build.gradle.kts index 457e874..b9daf56 100644 --- a/standalone/build.gradle.kts +++ b/standalone/build.gradle.kts @@ -22,14 +22,13 @@ dependencies { implementation("dev.folomeev.kotgl:kotgl-matrix:0.0.1-beta") - val lwjglVersion = "3.3.3" val lwjglModules = listOf("lwjgl", "lwjgl-glfw", "lwjgl-opengl", "lwjgl-stb", "lwjgl-nanovg") val lwjglNatives = listOf("linux", "macos", "macos-arm64", "windows") - api(platform("org.lwjgl:lwjgl-bom:$lwjglVersion")) + api(platform("org.lwjgl:lwjgl-bom:3.3.3")) for (module in lwjglModules) { - api("org.lwjgl:$module:$lwjglVersion") + api("org.lwjgl", module) for (native in lwjglNatives) { - api("org.lwjgl:$module:$lwjglVersion:natives-$native") + api("org.lwjgl", module, classifier = "natives-$native") } }