-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
45 lines (34 loc) · 1.6 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
import sbt.Keys.{libraryDependencies, scalaVersion, version}
lazy val root = (project in file(".")).
settings(
name := "Apache-Sedona-Hotspot-Analysis",
version := "0.1.0",
scalaVersion := "2.11.11",
organization := "org.datasyslab",
publishMavenStyle := true,
mainClass := Some("cse512.Entrance")
)
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.4.0" % "provided" exclude("org.apache.hadoop", "*"),
"org.apache.spark" %% "spark-sql" % "2.4.0" % "provided" exclude("org.apache.hadoop", "*"),
"org.apache.hadoop" % "hadoop-mapreduce-client-core" % "2.7.2" % "provided",
"org.apache.hadoop" % "hadoop-common" % "2.7.2" % "provided",
"org.datasyslab" % "geospark" % "1.2.0",
"org.datasyslab" % "geospark-sql_".concat("2.3") % "1.2.0",
"org.datasyslab" % "geospark-viz_".concat("2.3") % "1.2.0",
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"org.specs2" %% "specs2-core" % "2.4.16" % "test",
"org.specs2" %% "specs2-junit" % "2.4.16" % "test"
)
assemblyMergeStrategy in assembly := {
case PathList("org.datasyslab", "geospark", xs@_*) => MergeStrategy.first
case PathList("META-INF", "MANIFEST.MF") => MergeStrategy.discard
case path if path.endsWith(".SF") => MergeStrategy.discard
case path if path.endsWith(".DSA") => MergeStrategy.discard
case path if path.endsWith(".RSA") => MergeStrategy.discard
case _ => MergeStrategy.first
}
resolvers +=
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
resolvers +=
"Open Source Geospatial Foundation Repository" at "http://download.osgeo.org/webdav/geotools"