-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.sbt
More file actions
40 lines (26 loc) · 1.31 KB
/
Copy pathbuild.sbt
File metadata and controls
40 lines (26 loc) · 1.31 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
name := "dedup"
version := "0.1"
val SPARK_VERSION = "1.6.0"
scalaVersion := "2.10.5"
resolvers ++= Seq(
"sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"sonatype releases" at "https://oss.sonatype.org/content/repositories/releases",
"Will's bintray" at "https://dl.bintray.com/willb/maven/"
)
libraryDependencies += "org.apache.spark" %% "spark-core" % SPARK_VERSION % "provided"
libraryDependencies += "org.apache.spark" %% "spark-sql" % SPARK_VERSION % "provided"
libraryDependencies += "org.apache.spark" %% "spark-mllib" % SPARK_VERSION % "provided"
libraryDependencies += "com.redhat.et" %% "silex" % "0.0.8"
libraryDependencies += "org.json4s" %% "json4s-native" % "3.3.0"
libraryDependencies += "org.rogach" %% "scallop" % "0.9.5"
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % Test
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
fork := true
assemblyMergeStrategy in assembly := {
case PathList("META-INF", "MANIFEST.MF") => MergeStrategy.discard
case PathList("META-INF", "DUMMY.DSA") => MergeStrategy.discard
case PathList("META-INF", "DUMMY.SF") => MergeStrategy.discard
case PathList("META-INF", "ECLIPSEF.DSA") => MergeStrategy.discard
case PathList("META-INF", "ECLIPSEF.SF") => MergeStrategy.discard
case x => MergeStrategy.first
}