- Integration of Slick into Play's application lifecycle.
- Support for Play database evolutions.
Because Slick creates and manages both a connection pool and a thread pool, integrating Slick with Play boils down to ensuring that all resources allocated by Slick are shutdown when a Play application is stopped (or reloaded).
The plugin has its own release cycle and therefore is not integrated into either core Play or Slick.
To use play-slick, you need to add the following dependencies:
libraryDependencies ++= Seq( "com.typesafe.play" %% "play-slick" % "4.0.0", "com.typesafe.play" %% "play-slick-evolutions" % "4.0.0" )
Or use a version that is compatible with the Play version you are using. See all available versions below.
The Play Slick plugin supports several different versions of Play and Slick.
|Plugin version||Play version||Slick version||Scala version|
- Release Candidate: these releases are not stable and should not be used in production.
Note that the
+ next to a version means that the specified version and later trailing point releases are supported by the same version of the play-slick plugin. While a
x means that any trailing point release is supported by the same version of play-slick.
The documentation for the latest release is available here.
Documentation for v0.8 is available in the project's wiki.
Copyright (C) 2009-2017 Lightbend Inc. (https://www.lightbend.com).
License: Apache License 2.0, http://www.apache.org/licenses/LICENSE-2.0.html