forked from CatalystCode/streaming-rss-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
36 lines (29 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
organization := "com.github.catalystcode"
name := "streaming-rss-html"
description := "A library for reading public RSS feeds and public websites using Spark Streaming."
scalaVersion := "2.11.7"
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature"
)
val sparkVersion = "2.1.0"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion,
"org.apache.spark" %% "spark-sql" % sparkVersion,
"org.apache.spark" %% "spark-streaming" % sparkVersion
).map(_ % "compile")
libraryDependencies ++= Seq(
"com.rometools" % "rome" % "1.8.0",
"org.jsoup" % "jsoup" % "1.10.3",
"log4j" % "log4j" % "1.2.17"
)
libraryDependencies ++= Seq(
"org.mockito" % "mockito-core" % "2.8.47",
"org.mockito" % "mockito-inline" % "2.8.47",
"org.scalatest" %% "scalatest" % "2.2.1"
).map(_ % "test")
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}