-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
50 lines (42 loc) · 1.95 KB
/
build.sbt
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
50
version := "1.0"
lazy val `scala-play-sandbox` = (project in file("."))
.enablePlugins(PlayScala)
.settings(
name := "scala-play-sandbox"
)
resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"
resolvers += "Akka Snapshot Repository" at "https://repo.akka.io/snapshots/"
scalaVersion := "2.12.6"
val playVersion = "2.8.0"
val scalikejdbcVersion = "3.4.2"
val scalikejdbcInitializerVersion = "3.4"
libraryDependencies ++= Seq( jdbc , ehcache , ws , specs2 % Test , guice ) ++
Seq(
"net.ruippeixotog" %% "scala-scraper" % "2.2.0",
// scalikejdbc
// https://mvnrepository.com/artifact/org.scalikejdbc/scalikejdbc
"org.scalikejdbc" %% "scalikejdbc" % scalikejdbcVersion,
"org.scalikejdbc" %% "scalikejdbc-config" % scalikejdbcVersion,
"org.scalikejdbc" %% "scalikejdbc-play-initializer" % s"${playVersion}-scalikejdbc-${scalikejdbcInitializerVersion}",
"org.postgresql" % "postgresql" % "42.2.12"
) ++
Seq(
"com.typesafe" % "config" % "1.3.1",
"org.scalikejdbc" %% "scalikejdbc-test" % scalikejdbcVersion % "test",
"org.scalatest" %% "scalatest" % "3.0.+" % "test",
"org.specs2" %% "specs2-core" % "3.8.9" % "test"
) ++
Seq(
// sangria
"org.sangria-graphql" %% "sangria" % "2.0.0",
"org.sangria-graphql" %% "sangria-slowlog" % "0.1.8",
"org.sangria-graphql" %% "sangria-circe" % "1.2.1",
"org.sangria-graphql" %% "sangria-spray-json" % "1.0.2",
// circe(json libs)
"io.circe" %% "circe-core" % "0.12.1",
"io.circe" %% "circe-parser" % "0.12.1",
"io.circe" %% "circe-generic" % "0.12.1",
"io.circe" %% "circe-optics" % "0.9.3"
) :+ ("com.dripower" %% "play-circe" % "2812.0")
//unmanagedResourceDirectories in Test <+= baseDirectory ( _ /"target/web/public/test" )
unmanagedResourceDirectories in Test += baseDirectory.value / "target/web/public/test"