Skip to content

Commit e91fd60

Browse files
committed
Organized dependencies
1 parent f9a4c32 commit e91fd60

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

build.sbt

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,31 @@ version := "1.0.0-SNAPSHOT"
44

55
scalaVersion := "2.12.4"
66

7-
val akkaHttpVersion = "10.1.5"
8-
9-
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.4"
10-
11-
libraryDependencies += "com.typesafe.akka" %% "akka-http" % akkaHttpVersion
12-
libraryDependencies += "com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion
13-
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.12"
14-
libraryDependencies += "com.typesafe.akka" %% "akka-slf4j" % "2.5.12"
15-
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion
16-
libraryDependencies += "io.spray" %% "spray-json" % "1.3.3"
17-
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.4"
18-
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.4" % "it,test"
7+
val akkaVersion = "2.5.14"
8+
libraryDependencies ++= Seq (
9+
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
10+
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion
11+
)
1912

20-
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3" % Runtime
13+
val akkaHttpVersion = "10.1.5"
14+
libraryDependencies ++= Seq (
15+
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
16+
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion,
17+
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion
18+
)
2119

2220
val elastic4sVersion = "6.3.0"
2321
libraryDependencies ++= Seq(
2422
"com.sksamuel.elastic4s" %% "elastic4s-core" % elastic4sVersion,
25-
26-
27-
// for the http client
2823
"com.sksamuel.elastic4s" %% "elastic4s-http" % elastic4sVersion,
29-
30-
// if you want to use reactive streams
3124
"com.sksamuel.elastic4s" %% "elastic4s-http-streams" % elastic4sVersion,
32-
3325
)
3426

27+
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.4"
28+
libraryDependencies += "io.spray" %% "spray-json" % "1.3.3"
29+
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.4"
30+
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.4" % "it,test"
31+
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3" % Runtime
3532

3633
lazy val webapi = (project in file(".")).
3734
//https://www.scala-sbt.org/1.x/docs/Testing.html

0 commit comments

Comments
 (0)