-
Notifications
You must be signed in to change notification settings - Fork 12
sbt lwjgl plugin
This is a simple plugin that you can add to your sbt projects for rapid LWJGL development.
Out of the box, it supports:
- LWJGL (of course)
- Slick2D Support
- jMonkey Support
- Nicol Support
- Ardor3D Support
Note: Beginners to sbt should familiarize themselves with some of the basics. This knowledge base assumes you understand the basics behind including plugin build settings, overwriting settings, multi-project settings, etc.
There is a page dedicated to Create Executable Binaries that are both portable and integrated into your build environment.
- philcali/lwjgl
- philcali/jmonkey-project
- philcali/nicol-project
- philcali/slick2d
-
philcali/ardor3d(not implemented yet)
It is recommended to start a new LWJGL project using the giter8 template. The project template creates a project.scala and plugins/Plugins.scala, so it would save you some typing. Giter8 is a commandline tool that pulls down project templates on github. Conscript is a scala software installer used to install giter8.
If you do not wish to use the project template, then you can simply copy the following into you project/plugins/build.sbt:
addSbtPlugin("com.github.philcali" % "sbt-lwjgl-plugin" % "3.1.4")
If you desire to work with more than LWJGL (meaning, some satellite project that use LWJGL), then you need
to include one of the satellite engineSettings
into your build. Here's an example using Nicol.
Create a build.sbt in the root of your project with the following contents:
// Nicol
seq(nicolSettings: _*)
- Open source sbt-lwjgl project
- Welcome community Development
- To be the all-encompassing lwjgl plugin and support for satellite projects
Fork me! I'll gladly accept code additions, to further the common goal!