-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
27 lines (24 loc) · 906 Bytes
/
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
import sbtsparkpackage.SparkPackagePlugin.autoImport.sparkVersion
name := "spark-wordcount-bdd"
version := "1.0"
scalaVersion := "2.11.8"
sparkVersion := "2.1.0"
organization := "com.bddsample"
crossScalaVersions := Seq("2.10.6", "2.11.8")
sparkComponents := Seq("core", "sql","streaming")
spAppendScalaVersion := false
spIncludeMaven := true
spIgnoreProvided := true
parallelExecution in Test := false
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.1.0" % "provided",
"org.apache.spark" %% "spark-hive" % "2.1.0" % "provided",
"com.holdenkarau" %% "spark-testing-base" % "2.0.0_0.4.7" % "test",
"joda-time" % "joda-time" % "2.9.3",
"org.mockito" % "mockito-core" % "1.8.5" % "test",
"org.scalatest" %% "scalatest" % "2.2.5" % "test"
)
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs@_*) => MergeStrategy.discard
case x => MergeStrategy.first
}