build.sbt 1.66 KB
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
import _root_.play.PlayImport._

name := "LogSend"

version := "1.0"

scalaVersion := "2.11.6"
val sprayV = "1.3.2"
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.7.2",
"com.typesafe.akka" %% "akka-actor" % "2.3.9",
"com.typesafe.akka" %% "akka-slf4j" % "2.3.9",
"io.spray" %% "spray-can" % sprayV,
"io.spray" %% "spray-caching" % sprayV,
"io.spray" %% "spray-routing" % sprayV,
"io.spray" %% "spray-client" % sprayV,
"com.google.code.findbugs" % "jsr305" % "2.0.3",
"c3p0" % "c3p0" % "0.9.1.2",
"redis.clients" % "jedis" % "2.2.1",
"org.webjars" % "bootstrap" % "2.3.1",
"org.webjars" % "flot" % "0.8.0",
"com.google.guava" % "guava" % "18.0",
"mysql" % "mysql-connector-java" % "5.1.32",
"com.alibaba" % "fastjson" % "1.1.41",
"org.json4s" %% "json4s-jackson" % "3.2.11",
"org.json4s" %% "json4s-ext" % "3.2.11",
"org.json4s" %% "json4s-native" % "3.2.11",
"com.typesafe.slick" %% "slick" % "2.1.0",
"postgresql" % "postgresql" % "9.1-901-1.jdbc4",
"org.scalatest" %% "scalatest" % "2.1.6" % "test",
"org.scalatestplus" % "play_2.10" % "1.0.0" % "test",
"com.typesafe.akka" %% "akka-testkit" % "2.3.4" % "test"
)


resolvers ++= Seq(
"Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
"Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/",
"Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/",
"twitter" at "http://maven.twttr.com/",
"spray repo" at "http://repo.spray.io/"
)

resolvers += "Local Maven Repository" at "file://" + Path.userHome.absolutePath + "/.m2/repository"


javacOptions ++= Seq("-source", "1.7", "-target", "1.7")

retrieveManaged := true