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"
)
https://maven-badges.herokuapp.com/maven-central/org.reactivemongo/play2-reactivemongo_2.11/badge.svg
Learn more:
The documentation is available online.
- Complete documentation and tutorials
- Search or create issues on GitHub
- Get help in the ReactiveMongo Google Group or Stack Overflow
- Contribute
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.