Skip to content
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.

Updating Slick 2D version

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"
}
Clone this wiki locally