@@ -4,40 +4,44 @@ version := "1.0.0-SNAPSHOT"
44
55scalaVersion := " 2.12.4"
66
7- val akkaVersion = " 2.5.14 "
8- libraryDependencies ++= Seq (
7+ val akkaVersion = " 2.5.16 "
8+ libraryDependencies ++= Seq (
99 " com.typesafe.akka" %% " akka-stream" % akkaVersion,
1010 " com.typesafe.akka" %% " akka-slf4j" % akkaVersion
1111)
1212
1313val akkaHttpVersion = " 10.1.5"
14- libraryDependencies ++= Seq (
14+ libraryDependencies ++= Seq (
1515 " com.typesafe.akka" %% " akka-http" % akkaHttpVersion,
1616 " com.typesafe.akka" %% " akka-http-testkit" % akkaHttpVersion,
1717 " com.typesafe.akka" %% " akka-http-spray-json" % akkaHttpVersion
1818)
19+ // Including http client for elastic4s
20+ libraryDependencies += " org.apache.httpcomponents" % " httpclient" % " 4.5.3"
1921
20- val elastic4sVersion = " 6.3.0 "
22+ val elastic4sVersion = " 6.3.8 "
2123libraryDependencies ++= Seq (
2224 " com.sksamuel.elastic4s" %% " elastic4s-core" % elastic4sVersion,
23- " com.sksamuel.elastic4s" %% " elastic4s-http" % elastic4sVersion,
25+ // Excluding default 4.5.2 due to https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEHTTPCOMPONENTS-31517
26+ " com.sksamuel.elastic4s" %% " elastic4s-http" % elastic4sVersion exclude(" org.apache.httpcomponents" , " httpclient" ),
2427 " com.sksamuel.elastic4s" %% " elastic4s-http-streams" % elastic4sVersion,
2528)
2629
30+
2731libraryDependencies += " com.pauldijou" %% " jwt-core" % " 1.0.0"
2832
2933libraryDependencies += " org.parboiled" %% " parboiled" % " 2.1.4"
30- libraryDependencies += " io.spray" %% " spray-json" % " 1.3.3 "
34+ libraryDependencies += " io.spray" %% " spray-json" % " 1.3.5 "
3135libraryDependencies += " org.scalactic" %% " scalactic" % " 3.0.4"
3236libraryDependencies += " org.scalatest" %% " scalatest" % " 3.0.4" % " it,test"
3337libraryDependencies += " ch.qos.logback" % " logback-classic" % " 1.2.3" % Runtime
3438
3539lazy val webapi = (project in file(" ." )).
3640 // https://www.scala-sbt.org/1.x/docs/Testing.html
37- configs(IntegrationTest ).
41+ configs(IntegrationTest ).
3842 settings(
3943 Defaults .itSettings,
40- ).
44+ ).
4145 enablePlugins(JavaAppPackaging ).
4246 enablePlugins(DockerPlugin ).
4347 enablePlugins(ScalastylePlugin ).
@@ -56,7 +60,7 @@ scalastyleConfig := baseDirectory.value / "project" / "scalastyle-config.xml"
5660// Pinning secure versions of insecure transitive libraryDependencies
5761// Please update when updating dependencies above (including Play plugin)
5862libraryDependencies ++= Seq (
59- " com.fasterxml.jackson.core" % " jackson-databind" % " 2.9.9 "
63+ " com.fasterxml.jackson.core" % " jackson-databind" % " 2.9.10.1 "
6064)
6165
6266trapExit := false
0 commit comments