build.sbt 534 B

123456789101112131415161718
  1. name := "play2-scala-anorm"
  2. version := "1.0-SNAPSHOT"
  3. scalaVersion := "2.11.7"
  4. lazy val root = (project in file(".")).enablePlugins(PlayScala)
  5. libraryDependencies ++= Seq(
  6. jdbc,
  7. "com.typesafe.play" %% "anorm" % "2.4.0",
  8. "mysql" % "mysql-connector-java" % "5.1.38")
  9. resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
  10. // Play provides two styles of routers, one expects its actions to be injected, the
  11. // other, legacy style, accesses its actions statically.
  12. routesGenerator := InjectedRoutesGenerator