-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
48 lines (37 loc) · 1.38 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
resolvers ++= Seq(
"Artima Maven Repository" at "http://repo.artima.com/releases"
)
organization := "com.github.fluency03"
name := "blockchain-in-scala"
version := "0.0.8"
scalaVersion := "2.12.0"
coverageEnabled := true
val scalazVersion = "7.2.21"
val akkaHttpVersion = "10.1.1"
val akkaVersion = "2.5.11"
val akkaJson4sVersion = "1.20.1"
val json4sVersion = "3.5.3"
val scalaTestVersion = "3.0.5"
val scalaMockVersion = "4.1.0"
val httpDependencies = Seq(
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"de.heikoseeberger" %% "akka-http-json4s" % akkaJson4sVersion
)
val testDependencies = Seq(
"org.scalactic" %% "scalactic" % scalaTestVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % Test,
"org.scalamock" %% "scalamock" % scalaMockVersion % Test,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion % Test
)
libraryDependencies ++= {
Seq(
"org.scalaz" %% "scalaz-core" % scalazVersion,
"org.json4s" %% "json4s-native" % json4sVersion,
"org.json4s" %% "json4s-jackson" % json4sVersion,
"org.bouncycastle" % "bcprov-jdk15on" % "1.59"
)
} ++ httpDependencies ++ testDependencies
mainClass in assembly := Some("com.github.fluency03.blockchain.api.Server")