How to add SecureSocial to play a 2.x project using build.sbt (not Build.scala)

I'm new to Play! 2.x and sbt, and to add to the confusion, the documentation they have for dependencies is different from how they made sample projects in Activator. In particular, I am working with a template project hello-play.

There is no file Build.scala, but there is a file build.sbt. I am trying to add a SecureSocial module after the Installation document .

The file is build.sbtas follows:

name := """hello-play"""

version := "1.0-SNAPSHOT"

resolvers += "sbt-plugin-snapshots" at "http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots"

libraryDependencies ++= Seq(
  javaCore,  // The core Java API
  "org.webjars" %% "webjars-play" % "2.2.0",
  "org.webjars" % "bootstrap" % "2.3.1",
  "securesocial" %% "securesocial" % "2.1.2"
)

play.Project.playScalaSettings

At compile time, it shows that he was trying to use a recognizer that I gave, but no luck:

[warn] ==== sbt-plugin-snapshots: tried
[warn] http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots/securesocial/securesocial_2.10/2.1.2/securesocial_2.10-2.1.2.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: securesocial#securesocial_2.10;2.1.2: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: securesocial#securesocial_2.10;2.1.2: not found

Am I doing something wrong? Not sure what else to try.

+4
1

Play Framework 2.2 Build.scala build.sbt, SecureSocial . . resolvers :

resolvers += Resolver.url("sbt-plugin-releases", url("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
+9

All Articles