-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.sbt
53 lines (41 loc) · 1.9 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
49
50
51
52
53
name := "prout"
version := "1.0-SNAPSHOT"
scalaVersion := "2.13.15"
updateOptions := updateOptions.value.withCachedResolution(true)
resolvers ++= Resolver.sonatypeOssRepos("releases")
buildInfoKeys := Seq[BuildInfoKey](
name,
"gitCommitId" -> Option(System.getenv("SOURCE_VERSION")).getOrElse("unknown")
)
buildInfoPackage := "app"
lazy val root = (project in file(".")).enablePlugins(PlayScala, BuildInfoPlugin)
Test / testOptions +=
Tests.Argument(TestFrameworks.ScalaTest, "-u", s"test-results/scala-${scalaVersion.value}")
libraryDependencies ++= Seq(
filters,
ws,
"com.softwaremill.macwire" %% "macros" % "2.6.4" % Provided, // slight finesse: 'provided' as only used for compile
"com.madgag" %% "scala-collection-plus" % "0.11",
"org.typelevel" %% "cats-core" % "2.12.0",
"com.github.blemale" %% "scaffeine" % "5.3.0",
"org.webjars" % "bootstrap" % "3.4.1",
"com.getsentry.raven" % "raven-logback" % "8.0.3",
// Transient dependency of raven-logback 8.0.3. No newer version of raven-logback available.
"ch.qos.logback" % "logback-classic" % "1.5.9",
"com.github.nscala-time" %% "nscala-time" % "2.34.0",
"io.lemonlabs" %% "scala-uri" % "4.0.3",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
"com.madgag.play-git-hub" %% "core" % "6.0",
"com.madgag.play-git-hub" %% "testkit" % "6.0" % Test,
"com.madgag.scala-git" %% "scala-git-test" % "4.8" % Test,
"org.scalatestplus.play" %% "scalatestplus-play" % "7.0.1" % Test
)
// Overidden transient dependencies for Vulnerability fixes
libraryDependencies ++= Seq(
// Introduced through org.webjars:bootstrap:3.4.1
// Fix available in next major bootstrap version - this will involve a lot of breaking changes however.
"org.webjars" % "jquery" % "3.7.1",
)
routesImport ++= Seq("com.madgag.scalagithub.model._","com.madgag.playgithub.Binders._")
Compile/doc/sources := Seq.empty
Compile/packageDoc/publishArtifact := false