-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
49 lines (43 loc) · 1.58 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
name := "eventsvc"
organization := "g8.akkahttp.eventsvc"
version := "0.0.1"
scalaVersion := "2.12.1"
scalacOptions := Seq("-unchecked", "-feature", "-deprecation", "-encoding", "utf8")
resolvers += Resolver.jcenterRepo
libraryDependencies ++= {
val catsV = "0.9.0"
val akkaHttpV = "10.0.5"
val circeV = "0.7.0"
val ficusV = "1.4.0"
val scalaMockV = "3.5.0"
val catsScalatestV = "2.2.0"
val mongoDriverV = "2.1.0"
Seq(
"org.typelevel" %% "cats-core" % catsV,
"com.iheart" %% "ficus" % ficusV,
"com.typesafe.akka" %% "akka-http" % akkaHttpV,
"de.heikoseeberger" %% "akka-http-circe" % "1.15.0",
"io.circe" %% "circe-core" % circeV,
"io.circe" %% "circe-generic" % circeV,
"io.circe" %% "circe-parser" % circeV,
"org.mongodb.scala" %% "mongo-scala-driver" % mongoDriverV,
"io.netty" % "netty-all" % "4.1.12.Final",
"org.scalamock" %% "scalamock-scalatest-support" % scalaMockV % "it,test",
"com.ironcorelabs" %% "cats-scalatest" % catsScalatestV % "it,test",
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpV % "it,test"
)
}
lazy val root = project.in(file(".")).configs(IntegrationTest)
Defaults.itSettings
Revolver.settings
enablePlugins(JavaAppPackaging)
initialCommands := """
import cats._
import cats.data._
import cats.implicits._
import akka.actor._
import akka.pattern._
import akka.util._
import scala.concurrent._
import scala.concurrent.duration._
""".stripMargin