Skip to content
philcali edited this page Sep 30, 2011 · 6 revisions

Slick 2D is supported out of the box.

Include the following at the root of your project, in your build.sbt:

seq(slickSettings: _*)

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:

seq(slickSettings: _*)

// Override the slick2d setting
slick.version := "275"
Clone this wiki locally