-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.sbt
More file actions
15 lines (15 loc) · 811 Bytes
/
build.sbt
File metadata and controls
15 lines (15 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
lazy val root = (project in file(".")).
settings(
name := "hello-world",
test in Test := {
val _ = (g8Test in Test).toTask("").value
},
// Introduces a CVE, leading to a potential build fail
libraryDependencies += "org.apache.struts" % "struts2-core" % "2.3.8",
dependencyCheckFailBuildOnCVSS := 5,
dependencyCheckOSSIndexAnalyzerEnabled := Some(false),
// Add a suppression file, to test false positive suppression
dependencyCheckSuppressionFiles ++= List(file("../allow-list.xml")),
scriptedLaunchOpts ++= List("-Xms1024m", "-Xmx1024m", "-XX:ReservedCodeCacheSize=128m", "-XX:MaxPermSize=256m", "-Xss2m", "-Dfile.encoding=UTF-8"),
resolvers += Resolver.url("typesafe", url("https://repo.typesafe.com/typesafe/ivy-releases/"))(Resolver.ivyStylePatterns)
)