-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (28 loc) · 1000 Bytes
/
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
/** Definition of versions. */
lazy val AkkaVersion = "2.5.0"
lazy val AkkaHttpVersion = "10.0.4"
lazy val VersionScala = "2.11.8"
lazy val akkaDependencies = Seq(
"com.typesafe.akka" %% "akka-actor" % AkkaVersion,
"com.typesafe.akka" %% "akka-testkit" % AkkaVersion,
"com.typesafe.akka" %% "akka-remote" % AkkaVersion,
"com.typesafe.akka" %% "akka-stream" % AkkaVersion,
"org.scala-lang" % "scala-reflect" % VersionScala
)
lazy val testDependencies = Seq(
"org.scalatest" %% "scalatest" % "2.1.6" % "test",
"junit" % "junit" % "4.12" % "test",
"org.mockito" % "mockito-core" % "1.9.5" % "test"
)
val defaultSettings = Seq(
version := "1.0-SNAPSHOT",
scalaVersion := VersionScala,
libraryDependencies ++= akkaDependencies,
libraryDependencies ++= testDependencies,
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.3"
)
lazy val JavaMagAkka = (project in file("."))
.settings(defaultSettings: _*)
.settings(
name := "javamag-akka-demo"
)