-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (47 loc) · 1.79 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
organization in ThisBuild := "com.uralian"
version in ThisBuild := "0.1.0-SNAPSHOT"
scalaVersion in ThisBuild := "2.12.7"
scalacOptions in ThisBuild ++= Seq(
"-feature",
"-unchecked",
"-deprecation",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-language:_",
"-target:jvm-1.8",
"-encoding", "UTF-8"
)
// scoverage options
coverageMinimum in ThisBuild := 80
coverageFailOnMinimum in ThisBuild := true
lazy val root = (project in file("."))
.settings(name := "nest-poc")
.aggregate(nest_dslink)
lazy val nest_dslink = (project in file("dslink-scala-nest"))
.configs(IntegrationTest)
.settings(Defaults.itSettings: _*)
.settings(
libraryDependencies ++= commonDependencies ++ testDependencies ++ itDependencies ++ Seq(
"com.softwaremill.sttp" %% "core" % "1.5.1",
"com.softwaremill.sttp" %% "json4s" % "1.5.1",
"com.softwaremill.sttp" %% "akka-http-backend" % "1.5.1",
"com.typesafe.akka" %% "akka-stream" % "2.5.11",
"org.json4s" %% "json4s-native" % "3.6.2",
"org.typelevel" %% "squants" % "1.4.0",
"com.uralian" %% "sdk-dslink-scala" % "0.6.1",
"com.typesafe.akka" %% "akka-stream-kafka" % "1.0-RC1"
)
)
lazy val commonDependencies = Seq(
)
lazy val testDependencies = Seq(
"org.scalatest" %% "scalatest" % "3.0.5" % Test,
"org.scalacheck" %% "scalacheck" % "1.14.0" % Test,
"org.mockito" % "mockito-core" % "2.23.4" % Test
)
lazy val itDependencies = Seq(
"org.scalatest" %% "scalatest" % "3.0.5" % IntegrationTest,
"org.scalacheck" %% "scalacheck" % "1.14.0" % IntegrationTest,
"org.mockito" % "mockito-core" % "2.23.4" % IntegrationTest
)
//mainClass in (Compile, run) := Some("com.uralian.nest.dsa.Main")