-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
58 lines (42 loc) · 2.2 KB
/
build.sbt
File metadata and controls
58 lines (42 loc) · 2.2 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name := "RealTimeMovieRec"
version := "0.1"
scalaVersion := "2.11.8"
val ScalatraVersion = "2.6.+"
val sparkVersion = "2.2.0"
resolvers ++= Seq(
"All Spark Repository -> bintray-spark-packages" at "https://dl.bintray.com/spark-packages/maven/"
)
libraryDependencies ++= Seq(
"org.scalatra" %% "scalatra" % ScalatraVersion,
"org.scalatra" %% "scalatra-scalate" % ScalatraVersion,
"org.scalatra" %% "scalatra-specs2" % ScalatraVersion % "test",
"ch.qos.logback" % "logback-classic" % "1.2.3" % "runtime; compile",
"org.eclipse.jetty" % "jetty-webapp" % "9.2.15.v20160210" % "container;compile",
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "container;compile",
"org.scalatra" %% "scalatra-scalatest" % "2.6.2" % "test",
"org.apache.spark" % "spark-core_2.11" % "2.2.0",
"org.apache.spark" % "spark-sql_2.11" % "2.2.0",
"org.apache.hadoop" % "hadoop-mapreduce-client-core" % "2.7.2",
"org.apache.hadoop" % "hadoop-client" % "2.7.2",
"org.apache.hadoop" % "hadoop-common" % "2.7.0",
"org.apache.spark" % "spark-hive_2.11" % "2.2.0",
"org.apache.spark" % "spark-yarn_2.11" % "2.2.0",
"org.apache.kudu" % "kudu-spark2_2.11" % "1.5.0",
"org.apache.spark" % "spark-mllib_2.11" % "2.2.0",
"com.typesafe" % "config" % "1.3.2",
"javax.servlet" % "javax.servlet-api" % "3.1.0"
)
libraryDependencies ++= Seq(
"io.prometheus" % "simpleclient" % "0.1.0",
"io.prometheus" % "simpleclient_common" % "0.1.0",
"io.prometheus" % "simpleclient_hotspot" % "0.1.0",
"io.prometheus" % "simpleclient_pushgateway" % "0.1.0",
)
enablePlugins(JettyPlugin)
//enablePlugins(SbtTwirl)
//containerPort in Jetty := 100000
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
test in assembly := {}