mvallerie / sbt-scage-plugin   0.1

GNU General Public License v3.0 only GitHub

Simple SBT plugin designed to integrate Scage (Scala Game Engine)

Scala versions: 2.10
sbt plugins: 0.13

sbt-scage-plugin

This is a simple SBT plugin designed to integrate Scage (Scala Game Engine) to your projects.

Requirements

  • SBT 0.13.x
  • Scala 2.10.x

How to use

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.

Example

You can check out the example directory to get a quick start. I'll release a template when i'll get more time :).

Compile by yourself

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