-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
26 lines (22 loc) · 886 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
name := "spark-bigquery-parallel"
organization := "openlink"
scalaVersion := "2.11.11"
spName := "openlink/spark-bigquery"
sparkVersion := "2.2.0"
sparkComponents := Seq("core", "sql")
spAppendScalaVersion := true
spIncludeMaven := true
libraryDependencies ++= Seq(
"com.databricks" %% "spark-avro" % "4.0.0",
"com.google.cloud.bigdataoss" % "bigquery-connector" % "0.10.4-hadoop2" exclude ("com.google.guava", "guava-jdk5"),
"org.slf4j" % "slf4j-simple" % "1.7.21",
"joda-time" % "joda-time" % "2.9.3",
"org.scalatest" %% "scalatest" % "2.2.1" % "test"
)
assemblyMergeStrategy in assembly := {
case PathList("com", "databricks", "spark", "avro", xs @ _*) => MergeStrategy.first
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-u", "target/test-reports")