Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unresolved sedis dependency with play-plugin for redis

I am using play framework v2.2.1 and have the following in my build.sbt file.

resolvers:

   Resolver.url("play-redis", url("http://repo.typesafe.com/typesafe/releases/com/typesafe/play-plugins-redis_2.9.1/2.0/"))(Resolver.ivyStylePatterns),

libraryDependencies

  "com.typesafe" %% "play-plugins-redis" % "2.1.1",
   "org.sedis" %% "sedis" % "1.1.8",

I have tried with and without the sedis option in libraryDependencies. When I run play dependencies, I keep getting the following error:

sbt.ResolveException: unresolved dependency: org.sedis#sedis_2.10.0:1.1.1: not found

Any ideas on troubleshooting/fixing this will be greatly appreciated. If not, I will just go ahead with an unmanaged dependency.

Edit: I forgot to mention that I also added the following to my play.plugins file:

play.plugins

550:com.typesafe.plugin.RedisPlugin

However, the issue is still pending.

like image 555
ali haider Avatar asked Oct 21 '22 13:10

ali haider


1 Answers

I got it working : In the build.sbt file :

libraryDependencies ++= Seq(
  cache,
  "com.typesafe" %% "play-plugins-redis" % "2.2.1"
)

resolvers += "Sedis repository" at "http://pk11-scratch.googlecode.com/svn/trunk/"
like image 51
Jean-Philippe Briend Avatar answered Oct 29 '22 17:10

Jean-Philippe Briend