-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
47 lines (40 loc) · 1.72 KB
/
build.sbt
File metadata and controls
47 lines (40 loc) · 1.72 KB
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
scalaVersion := "2.12.16"
name := "aws-gh-prs"
version := "0.6.2-SNAPSHOT"
libraryDependencies ++= Seq(
"org.specs2" %% "specs2-core" % "3.10.0" % "test",
"org.specs2" %% "specs2-mock" % "3.10.0" % "test",
"org.specs2" %% "specs2-scalacheck" % "3.10.0" % "test",
"io.verizon.knobs" %% "typesafe" % "5.0.32",
"com.amazonaws" % "aws-lambda-java-core" % "1.2.2",
"com.amazonaws" % "aws-lambda-java-events" % "2.2.9",
"com.amazonaws" % "aws-lambda-java-log4j" % "1.0.1",
"com.ning" % "async-http-client" % "1.9.40",
"io.code-check" %% "github-api" % "0.3.0-SNAPSHOT",
"org.json4s" %% "json4s-native" % "3.6.12",
"org.eclipse.jgit" % "org.eclipse.jgit" % "5.1.9.201908210455-r",
"org.eclipse.jgit" % "org.eclipse.jgit.junit" % "5.1.9.201908210455-r" % "test",
"com.jcraft" % "jsch" % "0.1.55", // jgit dep
"org.apache.httpcomponents" % "httpclient" % "4.5.14", // jgit dep
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
"org.slf4j" % "slf4j-log4j12" % "1.7.36",
"org.slf4j" % "slf4j-nop" % "1.7.36" % "test", // See also [1] below
"org.scala-sbt" %% "io" % "1.3.4"
)
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
// 1. Favor slf4j-nop for Test over slf4j-log4j12 for Runtime
Test / dependencyClasspath := {
(Test / dependencyClasspath).value.filter {
_.get(moduleID.key) exists (_.name != "slf4j-log4j12")
}
}
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
lazy val root = (project in file(".")).
enablePlugins(BuildInfoPlugin).
settings(
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "prs"
)