-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathbuild.sbt
More file actions
35 lines (24 loc) · 1.12 KB
/
build.sbt
File metadata and controls
35 lines (24 loc) · 1.12 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
import AssemblyKeys._
assemblySettings
name := "TwitterPopularTags"
version := "0.3.0"
scalaVersion := "2.10.3"
libraryDependencies ++= Seq("org.apache.spark" %% "spark-core" % "0.9.0-incubating",
"org.apache.spark" %% "spark-streaming" % "0.9.0-incubating",
"org.apache.spark" %% "spark-streaming-twitter" % "0.9.0-incubating")
resolvers += "Akka Repository" at "http://repo.akka.io/releases/"
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList("javax", "servlet", xs @ _*) => MergeStrategy.last
case PathList("org", "apache", xs @ _*) => MergeStrategy.last
case PathList("com", "esotericsoftware", xs @ _*) => MergeStrategy.last
case "about.html" => MergeStrategy.rename
case x => old(x)
}
}
// put all libs in the lib_managed directory, that way we can distribute eclipse project files
retrieveManaged := true
EclipseKeys.relativizeLibs := true
// Avoid generating eclipse source entries for the java directories
(unmanagedSourceDirectories in Compile) <<= (scalaSource in Compile)(Seq(_))
(unmanagedSourceDirectories in Test) <<= (scalaSource in Test)(Seq(_))