-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
28 lines (18 loc) · 955 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
name := "insightedge-examples"
val insightEdgeVersion = sys.props.getOrElse("insightEdgeVersion", "14.0.0-SNAPSHOT")
version := insightEdgeVersion
scalaVersion := "2.11.8"
resolvers += Resolver.mavenLocal
resolvers += "Openspaces Maven Repository" at "http://maven-repository.openspaces.org"
libraryDependencies ++= Seq(
"org.gigaspaces.insightedge" % "insightedge-core" % insightEdgeVersion % "provided" exclude("javax.jms", "jms"),
"org.apache.bahir" %% "spark-streaming-twitter" % "2.1.0",
"org.scalatest" % "scalatest_2.11" % "3.0.3" % "test"
)
test in assembly := {}
assemblyOutputPath in assembly := new File("target/insightedge-examples.jar")
assemblyMergeStrategy in assembly := {
case PathList("org", "apache", "spark", "unused", "UnusedStubClass.class") => MergeStrategy.first
case x => (assemblyMergeStrategy in assembly).value(x)
}
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false)