forked from variant-annotation/va-spark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (24 loc) · 1.22 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
name := "vaspark"
version := "0.1"
val sparkVersion = "2.4.0"
// We will use Scala 2.11.x because many of Scala libraries such as
// Spark, vegas-viz are not yet supported for Scala 2.12.x
scalaVersion := "2.11.12"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion % "provided",
"org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
"org.apache.spark" %% "spark-mllib" % sparkVersion % "provided",
"org.apache.spark" %% "spark-streaming" % sparkVersion % "provided",
"com.github.scopt" %% "scopt" % "4.0.0"
// "org.scala-lang.modules" %% "scala-xml" % "1.1.1", // Scala XML library
// "org.json4s" %% "json4s-native" % "3.6.1", // Scala Lift JSON Library
// "org.apache.commons" % "commons-csv" % "1.6", // Apache Commons CSV Java Library
// "org.vegas-viz" %% "vegas" % "0.3.11", // Vegas Visualization Library
// "org.scala-saddle" %% "saddle-core" % "1.3.4", // Saddle Dataframe like Library
// "org.scalatest" %% "scalatest" % "3.0.5" % "test" // Scala test library
)
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
assemblyJarName in assembly := "vaspark-0.1.jar"