-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
39 lines (30 loc) · 1.15 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
name := """ieee-passau-advent-frontend"""
version := "2019-BASE"
maintainer := "[email protected]"
scalaVersion := "2.12.10"
lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(SbtWeb)
pipelineStages := Seq(digest, gzip)
scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation", "-feature")
routesGenerator := InjectedRoutesGenerator
libraryDependencies ++= Seq(
ws,
filters,
guice,
"com.typesafe.play" %% "play" % "2.7.3",
"com.typesafe.play" %% "play-slick" % "4.0.2",
"com.typesafe.play" %% "play-slick-evolutions" % "4.0.2",
"com.typesafe.slick" %% "slick" % "3.3.2",
"com.typesafe.play" %% "play-mailer" % "7.0.1",
"com.typesafe.play" %% "play-mailer-guice" % "7.0.1",
"org.postgresql" % "postgresql" % "42.2.8",
"commons-io" % "commons-io" % "2.6",
"commons-codec" % "commons-codec" % "1.13"
)
LessKeys.compress in Assets := true
includeFilter in gzip := "*.html" || "*.css" || "*.js" || "*.ico"
includeFilter in (Assets, LessKeys.less) := "main.less"
excludeFilter in (Assets, LessKeys.less) := "_*.less"
includeFilter in (Assets, JshintKeys.jshint) := "*.js"
fork in run := true