Unable to add Jedis module to Play 2.4.1 even though following the exact instructions

428 views Asked by At

I'm following the instructions on https://github.com/typesafehub/play-plugins/tree/master/redis#how-to-install.

When I compile, it says that the plugin doesn't exist... What am I doing wrong...

My build.sbt after adding the plugin:

  libraryDependencies ++= Seq(
  javaJdbc,
  cache,
  javaWs,
  "com.typesafe" %% "play-modules-redis" % "2.4.1"
)
1

There are 1 answers

4
bjfletcher On BEST ANSWER

The Redis README.md instruction is pointing to the wrong group ID. You'll need this instead:

"com.typesafe.play.modules" %% "play-modules-redis" % "2.4.0"

and you'll probably need to add this resolver too:

resolvers += "google-sedis-fix" at "http://pk11-scratch.googlecode.com/svn/trunk"

I've just tried this with vanilla Play 2.4 and the dependency is now resolved.