8
votes

What is the current sbt syntax for using a recent version (say, 2.3 or 2.4) of Play's anorm package in standalone mode (not part of a Play application)?

2
@applicius nailed it, below.theglauber

2 Answers

11
votes

In build.sbt:

resolvers ++= Seq(
  "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/")

libraryDependencies ++= Seq(
  "com.typesafe.play" %% "anorm" % "2.3.6")

See example.

1
votes

Anorm is now published as follows with no need for an additional resolver.

"org.playframework.anorm" %% "anorm" % "2.6.2"