-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
78 lines (70 loc) · 1.76 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import Dependencies._
name := """mapzen_location_indexer"""
version := "1.0"
scalaVersion := "2.11.7"
lazy val commonSettings = Seq(
organization := "org.lakumbra",
version := "0.1",
scalaVersion := "2.11.8",
scalastyleFailOnError := false,
parallelExecution in Test := false,
logBuffered in Test := false,
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-encoding", "UTF-8", // yes, this is 2 args
"-unchecked",
"-Xfatal-warnings",
"-Yno-adapted-args",
"-Ywarn-dead-code", // N.B. doesn't work well with the ??? hole
// "-Ywarn-numeric-widen",
"-Ywarn-value-discard",
// "-Ywarn-unused-import",
"-Xfuture",
"-language:existentials",
"-language:higherKinds",
"-language:postfixOps",
"-language:implicitConversions"
),
// show elapsed time
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oDF"),
// don't run tests in assembly
test in assembly := {}
)
// Parent project allows compiling and testing all submodules from one place
lazy val pipeline = project.in(file("."))
.aggregate( extractors)
.settings(commonSettings: _*)
// All extraction jobs
lazy val extractors = project.in(file("extractors"))
// .dependsOn(core)
.settings(commonSettings: _*)
.settings(
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false)
).settings(
libraryDependencies ++= Seq(
sparkCore,
sparkSql,
sparkml,
akkaActor,
akkaSlf4j,
sparkRedshift,
sparkCsv,
sparkTs,
htmlCleaner,
mysql,
postgres,
slf4jlog4j,
pdfbox,
pdfbox_tools,
bcmail,
bcprov,
bcpkix,
"de.julielab" % "aliasi-lingpipe" % "4.1.0",
scalatest % Test,
akkaTestkit % Test,
h2 % Test
, scalaopt
,es
)
)