This is a simple SBT plugin designed to integrate Scage (Scala Game Engine) to your projects.
- SBT 0.13.x
- Scala 2.10.x
Scage is a game engine written in Scala. To integrate it to your SBT projects, read the following :
###project/plugins.sbt resolvers += Resolver.sbtPluginRepo("releases")
addSbtPlugin("com.github.mvallerie" % "sbt-scage-plugin" % "0.1")
###build.sbt name := "foobar"
version := "0.1-SNAPSHOT"
scalaVersion := "2.10.2"
seq(scageSettings: _*)
You can change the scalaVersion but you might have issues if you put a version which is not in 2.10.x branch.
You can also change Scage version using :
###build.sbt scage.version := "0.9.3-SNAPSHOT"
By default, the most recent version is selected (the plugin will be updated for each version of Scage).
Please note that you might have to run "update" task twice to get some problematic dependencies (mainly phys2d), this is a normal behaviour.
You can check out the example directory to get a quick start. I'll release a template when i'll get more time :).
You can use SBT 0.13.x to compile the plugin by yourself :
$ git clone https://github.com/mvallerie/sbt-scage-plugin.git
$ cd sbt-scage-plugin
$ sbt publish-local