Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to declare dependency on Play's Anorm for a standalone application?

Tags:

scala

sbt

anorm

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)?

like image 669
theglauber Avatar asked Aug 27 '14 16:08

theglauber


1 Answers

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.

like image 131
cchantep Avatar answered Oct 15 '22 07:10

cchantep