-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (34 loc) · 1.27 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
40
41
name := "we-poli-analytic"
organization := "in.tap"
version := "1.0.0-SNAPSHOT"
description := "Transformations & Analytics of FEC Data."
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
publishMavenStyle := true
scalaVersion := "2.11.12"
// disable parallel tests
parallelExecution in Test := false
fork in ThisBuild in Test:= false
val versionSpark: String = "2.4.0"
libraryDependencies ++= Seq(
// Spark
"in.tap" %% "spark-base" % "1.0.0-SNAPSHOT",
"in.tap" %% "spark-graph-proc" % "1.0.0-SNAPSHOT",
// Models
"in.tap" %% "we-poli-models" % "1.0.0-SNAPSHOT",
// apache spark
"org.apache.spark" %% "spark-core" % versionSpark,
"org.apache.spark" %% "spark-sql" % versionSpark,
"org.apache.spark" %% "spark-graphx" % versionSpark,
"org.apache.spark" %% "spark-mllib" % versionSpark,
// dynamo connector
"com.audienceproject" %% "spark-dynamodb" % "1.0.4",
// fuzzy string comparisons
"com.github.halfmatthalfcat" %% "stringmetric-core" % "0.28.0",
// Testing
"org.scalatest" %% "scalatest" % "3.1.1" % Test
)
mainClass in assembly := Some("in.tap.we.poli.analytic.Main")
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case _ => MergeStrategy.first
}