-
Notifications
You must be signed in to change notification settings - Fork 12
Slick2d Support
philcali edited this page Mar 22, 2011
·
6 revisions
Slick 2D is supported out of the box.
This is an example project definition:
import sbt._
class Project(info: ProjectInfo) extends LWJGLProject(info) with Slick2D
If you are pulling down dependencies for the first time, the plugin may produce a couple of warnings on update
:
[warn] Update might fail. This is expected.
[warn] Please run update one more time.
This happens because the pom for phys2d is defined for a zip, when it is actually a jar. The Slick2D
trait adds the maven repo, and takes care of this undesirable dependency management configuration for you.
Should updated version of slick come out before the plugin is updated, overriding your project's behavior is vanilla sbt. Here's an example below:
class Project... {
override def slickVersion = "275"
}