ReactiveMongo plugin for Playframework
Scala Shell Java
Latest commit 4e44f8a Oct 14, 2016 @cchantep cchantep committed on GitHub Merge pull request #223 from cchantep/fix/default-play-ver
Fix the default Play 2.5.x version

ReactiveMongo for Play Framework

This is a plugin for Play Framework 2.4 and 2.5, enabling support for ReactiveMongo – a reactive, asynchronous and non-blocking Scala driver for MongoDB.


In your project/Build.scala or build.sbt:

val reactiveMongoVer = "0.11.14"

// only for Play 2.5.x
libraryDependencies ++= Seq(
  "org.reactivemongo" %% "play2-reactivemongo" % reactiveMongoVer

// only for Play 2.4.x
libraryDependencies ++= Seq(
  "org.reactivemongo" %% "play2-reactivemongo" % s"$reactiveMongoVer-play24"
) Maven Central

Learn more:

The documentation is available online.

Build manually

ReactiveMongo for Play 2 can be built from this source repository.

sbt publish-local

To run the tests, use:

sbt test

As of Play 2.4, a JDK 1.8+ is required to build this plugin.