-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
36 lines (29 loc) · 971 Bytes
/
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
name := "Forum"
organization := "pl.iterators"
version := "1.0"
scalaVersion := "2.12.4"
scalacOptions := Seq(
"-feature",
"-deprecation",
"-unchecked",
"-Xlint:_",
"-Xfatal-warnings",
"-Ypartial-unification",
"-encoding",
"utf8",
"-target:jvm-1.8"
)
configs(IntegrationTest)
Defaults.itSettings
import Libraries._
libraryDependencies ++= akkaHttpBundleWithTest ++ slickBundle ++ Seq(cats, typesafeConfig, jasypt, jwt, commonsEmail, `rapture-i18n`, scopt)
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.4")
PostgresMigrations.settings
scalafmtVersion := "1.3.0"
scalafmtOnCompile := true
inConfig(IntegrationTest)(
scalafmtSettings ++
PostgresMigrations.itSettings ++ Seq(executeTests := (executeTests dependsOn flywayMigrate).value,
flywayMigrate := (flywayMigrate dependsOn flywayClean).value))
enablePlugins(SbtTwirl)
TwirlKeys.templateImports := Seq("_root_.play.twirl.api.Html")