@@ -14,21 +14,21 @@ lazy val management = (project in file(".")).enablePlugins(SbtWeb).enablePlugins
14
14
buildInfoKeys := Seq [BuildInfoKey ](name, version, scalaVersion, sbtVersion),
15
15
buildInfoPackage := " de.upb.cs.swt.delphi.management"
16
16
)
17
-
17
+
18
18
val conf = ConfigFactory .parseFile(new File (" conf/application.conf" )).resolve()
19
19
val appPortManagement = conf.getString(" app.portManagement" )
20
20
21
21
PlayKeys .devSettings := Seq (
22
22
" play.server.http.port" -> appPortManagement
23
- )
23
+ )
24
24
pipelineStages := Seq (digest,gzip)
25
25
26
26
resolvers += Resolver .sonatypeRepo(" snapshots" )
27
27
resolvers += Resolver .jcenterRepo
28
28
29
29
libraryDependencies += guice
30
30
libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 3.1.2" % Test
31
- libraryDependencies += " com.h2database " % " h2 " % " 1.4.197 "
31
+
32
32
libraryDependencies += " com.mohiva" %% " play-silhouette" % " 5.0.0"
33
33
libraryDependencies += " com.mohiva" %% " play-silhouette-persistence" % " 5.0.0"
34
34
libraryDependencies += " com.mohiva" %% " play-silhouette-crypto-jca" % " 5.0.0"
@@ -41,3 +41,12 @@ libraryDependencies += "com.adrianhurt" %% "play-bootstrap" % "1.4-P26-B4-SNAPSH
41
41
libraryDependencies += " eu.bitwalker" % " UserAgentUtils" % " 1.20"
42
42
43
43
routesGenerator := InjectedRoutesGenerator
44
+
45
+ // Pinning secure versions of insecure transitive libraryDependencies
46
+ // Please update when updating dependencies above (including Play plugin)
47
+ libraryDependencies ++= Seq (
48
+ " com.nimbusds" % " nimbus-jose-jwt" % " 5.14" ,
49
+ " org.bouncycastle" % " bcprov-jdk15on" % " 1.60" ,
50
+ " com.google.guava" % " guava" % " 25.1-jre" ,
51
+ " org.apache.commons" % " commons-compress" % " 1.16"
52
+ )
0 commit comments