-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
39 lines (36 loc) · 1.13 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
32
33
34
35
36
37
38
39
lazy val commonSettings = Seq(
organization := "edu.vanderbilt.accre",
version := "0.1.0",
scalaVersion := "2.10.5",
test in assembly := {},
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "latest.integration" % "test"
),
assemblyMergeStrategy in assembly := {
case PathList("META-INF", "MANIFEST.MF") => MergeStrategy.discard
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}
)
lazy val util = (project in file("util")).
settings(commonSettings: _*).
settings(
name := "util",
libraryDependencies ++= Seq(
"net.liftweb" %% "lift-json" % "2.6.3"
)
)
lazy val core = (project in file(".")).
settings(commonSettings: _*).
settings(
mainClass in assembly := Some("edu.vanderbilt.accre.stackex.StackExApp"),
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "1.6.2",
"org.apache.spark" %% "spark-sql" % "1.6.2",
"org.apache.spark" %% "spark-mllib" % "1.6.2",
"net.sourceforge.htmlcleaner" % "htmlcleaner" % "2.18",
"com.databricks" %% "spark-xml" % "0.4.1"
)
).
dependsOn(util)