Skip to content

Commit

Permalink
Standalone: Remove explicit lwjgl versions in dependencies
Browse files Browse the repository at this point in the history
We already include the bom, which specifies the versions for all the
lwjgl things.
  • Loading branch information
Johni0702 committed Aug 12, 2024
1 parent 334d582 commit 41d66bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions standalone/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

Expand Down

0 comments on commit 41d66bb

Please sign in to comment.