forked from francisdb/belgiantv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
52 lines (46 loc) · 2 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
51
52
name := "belgiantv"
version := "1.0-SNAPSHOT"
scalaVersion := "2.13.6"
scalacOptions ++= Seq("-feature")
// copying jvm parameters for testing:
// http://play.lighthouseapp.com/projects/82401/tickets/981-overriding-configuration-for-tests
Test / javaOptions ++= List("TMDB_API_KEY", "TOMATOES_API_KEY", "MONGOLAB_URI").flatMap(
property =>
Option(System.getProperty(property)).map { value =>
"-D" + property + "=" + value
}
)
includeFilter in (Assets, LessKeys.less) := "*.less"
excludeFilter in (Assets, LessKeys.less) := "_*.less"
val reactiveMongoVersion = "0.19.5"
val reactiveMongoPluginVersion = reactiveMongoVersion + "-play28"
val akkaVersion = "2.6.1" // TODO update when migrating to newer play
val specs2Version = "4.8.1"
libraryDependencies ++= Seq(
// Add your project dependencies here,
//jdbc,
ws,
"com.typesafe.play" %% "play-json" % "2.8.0",
// "com.typesafe.play" %% "play-iteratees" % "2.6.1" // do we need this?
"org.jsoup" % "jsoup" % "1.12.1",
//"commons-lang" % "commons-lang" % "2.6",
"org.reactivemongo" %% "reactivemongo" % reactiveMongoVersion,
"org.reactivemongo" %% "play2-reactivemongo" % reactiveMongoPluginVersion,
"org.webjars" %% "webjars-play" % "2.8.0",
"org.webjars" % "bootstrap" % "3.3.5",
"org.webjars" % "jquery" % "2.1.4",
"org.threeten" % "threeten-extra" % "1.5.0",
"io.sentry" % "sentry-logback" % "1.7.29",
// play comes with 3.6 that depends on unavailable scalaz-streams
specs2 % Test,
"org.specs2" %% "specs2-core" % specs2Version % Test,
"org.specs2" %% "specs2-mock" % specs2Version % Test,
"org.specs2" %% "specs2-junit" % specs2Version % Test
)
// for specs2, see https://etorreborre.github.io/specs2/website/SPECS2-3.7.2/quickstart.html
Test / scalacOptions ++= Seq("-Yrangepos")
lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.settings(
routesGenerator := InjectedRoutesGenerator
)