Created
May 15, 2015 20:57
-
-
Save dhoss/1a824ee5397f22eec0ac to your computer and use it in GitHub Desktop.
play 2.4 + play-slick 1.0/slick 3.0 build.sbt and plugins.sbt example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name := """steel""" | |
version := "1.0-SNAPSHOT" | |
lazy val root = (project in file(".")).enablePlugins(PlayScala) | |
scalaVersion := "2.11.5" | |
resolvers ++= Seq( | |
"Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/", | |
"Typesafe Maven Repository" at "http://repo.typesafe.com/typesafe/maven-releases/", | |
"Typesafe ivy" at "http://dl.bintray.com/typesafe/ivy-releases", | |
"scalaz-bintray" at "https://dl.bintray.com/scalaz/releases" | |
) | |
libraryDependencies ++= Seq( | |
jdbc, | |
"org.postgresql" % "postgresql" % "9.4-1201-jdbc41", | |
cache, | |
ws, | |
"com.typesafe.play" %% "play-slick" % "1.0.0-RC1", | |
"org.slf4j" % "slf4j-nop" % "1.6.4", | |
"joda-time" % "joda-time" % "2.7", | |
"org.joda" % "joda-convert" % "1.7", | |
"com.github.tototoshi" %% "slick-joda-mapper" % "2.0.0", | |
specs2 % Test | |
) | |
scalacOptions in Test ++= Seq("-Yrangepos") | |
javaOptions in Test += "-Dconfig.file=conf/test.conf" | |
fork in run := false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resolvers ++= Seq( | |
"Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/", | |
"Typesafe Maven Repository" at "http://repo.typesafe.com/typesafe/maven-releases/", | |
"scalaz-bintray" at "http://dl.bintray.com/scalaz/releases", | |
"Typesafe ivy" at "http://dl.bintray.com/typesafe/ivy-releases" | |
) | |
// The Play plugin | |
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0-RC1") | |
// web plugins | |
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0") | |
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0") | |
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.1") | |
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.1") | |
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.0.0") | |
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.0.0") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment