-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
39 lines (30 loc) · 1.17 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 := "cynical-chain"
version := "1"
scalaVersion := "2.12.2"
resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"
enablePlugins(JavaAppPackaging)
dockerExposedPorts := Seq( 9000, 2552 )
lazy val versions = new {
val akka = "2.5.3"
val akkaHttp = "10.0.7"
}
libraryDependencies ++= Seq(
"com.roundeights" %% "hasher" % "1.2.0",
"com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
"org.scalactic" %% "scalactic" % "3.0.1",
"ch.qos.logback" % "logback-classic" % "1.1.7",
"com.typesafe.akka" %% "akka-http" % versions.akkaHttp,
"com.typesafe.akka" %% "akka-remote" % versions.akka,
"com.typesafe.akka" %% "akka-slf4j" % versions.akka,
"de.heikoseeberger" %% "akka-http-json4s" % "1.16.1",
"org.json4s" %% "json4s-native" % "3.5.2"
)
//Test dependencies
libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.13.4",
"org.scalatest" %% "scalatest" % "3.0.1",
"org.scalamock" %% "scalamock-scalatest-support" % "3.6.0",
"com.typesafe.akka" %% "akka-http-testkit" % versions.akkaHttp,
"com.typesafe.akka" %% "akka-testkit" % versions.akka
).map(_ % "test" )
mainClass := Some("net.nightwhistler.nwsc.BlockChainApp")