-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
29 lines (22 loc) · 943 Bytes
/
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
name := "spark-base"
version := "0.1"
scalaVersion := "2.10.6"
val sparkVersion = "1.6.2"
val elasticSearchVersion = "2.4.2"
resolvers ++= Seq(
"elasticsearch-releases" at "http://maven.elasticsearch.org/releases",
"hortonworks-releases" at "http://repo.hortonworks.com/content/repositories/releases/"
)
val testingDependencies = Seq(
"com.holdenkarau" %% "spark-testing-base" % "1.6.2_0.7.4" % Test,
"org.scalatest" %% "scalatest" % "3.0.1" % Test,
"pl.allegro.tech" % "embedded-elasticsearch" % elasticSearchVersion % Test
)
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion,
"org.apache.spark" %% "spark-sql" % sparkVersion,
"org.apache.spark" %% "spark-hive" % sparkVersion,
"org.apache.spark" %% "spark-mllib" % sparkVersion,
"org.elasticsearch" %% "elasticsearch-spark" % elasticSearchVersion,
"org.elasticsearch" % "elasticsearch" % elasticSearchVersion
) ++ testingDependencies