forked from vngrs/spark-etl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
49 lines (34 loc) · 1.28 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
organization := "com.vngrs"
name := "spark-etl"
version := "0.0.1-SNAPSHOT"
scalaVersion := versions.scala
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % versions.spark % "provided",
"org.apache.spark" % "spark-mllib_2.10" % versions.spark % "provided",
"org.apache.spark" % "spark-sql_2.10" % versions.spark % "provided",
"org.scalactic" %% "scalactic" % versions.scalatest,
"org.scalatest" %% "scalatest" % versions.scalatest % "test"
)
// removing sbt warnings
.map(_.excludeAll(
ExclusionRule(organization = "com.google.code.findbugs"),
ExclusionRule(organization = "xmlenc"),
ExclusionRule(organization = "commons-beanutils"),
ExclusionRule(organization = "stax")
))
dependencyOverrides ++= Set(
"org.scala-lang" % "scala-compiler" % versions.scala,
"org.scala-lang" % "scala-library" % versions.scala,
"org.scala-lang" % "scala-reflect" % versions.scala,
"org.apache.commons" % "commons-lang3" % "3.3.2",
"org.slf4j" % "slf4j-api" % "1.7.10",
"org.scalamacros" % "quasiquotes_2.10" % "2.0.1"
)
wartremoverErrors ++= Warts.unsafe
// wartremover bug #106
wartremoverWarnings ++= Warts.allBut(Wart.NoNeedForMonad)
// coverage settings
coverageEnabled := true
coverageMinimum := 80
coverageFailOnMinimum := true
coverageHighlighting := false