-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
67 lines (48 loc) · 2.71 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
enablePlugins(BuildInfoPlugin)
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion, buildInfoBuildNumber)
buildInfoPackage := "buildmeta"
buildInfoOptions += BuildInfoOption.BuildTime
name := "scala-bootstrap"
version := "0.1"
scalaVersion := "2.12.6"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature", "-Xfatal-warnings",
"-Yno-adapted-args", "-explaintypes")
resolvers ++= Seq(
Resolver.typesafeIvyRepo("releases"),
Resolver.bintrayRepo("hmrc", "releases"))
TaskKey[Unit]("server") := (Compile / runMain).toTask(" myproject.web.server.WebServer").value
TaskKey[Unit]("envinit") := (Compile / runMain).toTask("myproject.web.server.EnvInitBatch").value
libraryDependencies ++= Seq(
// Application configuration
"com.typesafe" % "config" % "1.3.3",
// Akka
"com.typesafe.akka" %% "akka-http" % "10.1.3",
"com.typesafe.akka" %% "akka-stream" % "2.5.13",
"com.typesafe.akka" %% "akka-slf4j" % "2.5.13",
// Logging
"org.slf4j" % "slf4j-api" % "1.7.25",
"org.slf4j" % "jcl-over-slf4j" % "1.7.25",
"org.slf4j" % "log4j-over-slf4j" % "1.7.25",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.0",
// Email
"uk.gov.hmrc" %% "emailaddress" % "2.2.0",
"org.apache.commons" % "commons-email" % "1.5",
// Json
"com.fasterxml.jackson.core" % "jackson-databind" % "2.9.5",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.9.5",
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % "2.9.5",
// Encryption
"org.bouncycastle" % "bcpg-jdk15on" % "1.59",
// Tests
"org.scalatest" %% "scalatest" % "3.0.5" % "test",
"com.typesafe.akka" %% "akka-testkit" % "2.5.13" % "test",
"com.typesafe.akka" %% "akka-http-testkit" % "10.1.3" % "test",
// Database
"com.typesafe.slick" %% "slick" % "3.2.3",
"com.typesafe.slick" %% "slick-hikaricp" % "3.2.3",
"com.h2database" % "h2" % "1.4.197",
"org.postgresql" % "postgresql" % "42.2.5",
"org.flywaydb" % "flyway-core" % "5.2.4",
// Views
"com.lihaoyi" %% "scalatags" % "0.6.7")