I\'ve been scratching myself in the head for a little over an hour with this, nothing on Google seems to be able to give me a decisive answer.
I\'m using Intel
You can include LWJGL (with natives) by simply adding the following snippet to your build.sbt
:
libraryDependencies ++= {
val version = "3.1.6"
val os = "windows" // TODO: Change to "linux" or "macos" if necessary
Seq(
"lwjgl",
"lwjgl-glfw",
"lwjgl-opengl"
// TODO: Add more modules here
).flatMap {
module => {
Seq(
"org.lwjgl" % module % version,
"org.lwjgl" % module % version classifier s"natives-$os"
)
}
}
}
The classifier
function sadly is very undocumented so it took me some time to find this out.