-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.sbt
46 lines (41 loc) · 1.51 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
46
name := "demo"
version := "0.2.0"
scalaVersion := "2.11.8"
organization := "com.azavea"
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-Yinline-warnings",
"-language:implicitConversions",
"-language:reflectiveCalls",
"-language:higherKinds",
"-language:postfixOps",
"-language:existentials",
"-feature")
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
shellPrompt := { s => Project.extract(s).currentProject.id + " > " }
// We need to bump up the memory for some of the examples working with the landsat image.
javaOptions += "-Xmx4G"
fork in run := true
outputStrategy in run := Some(StdoutOutput)
connectInput in run := true
libraryDependencies ++= Seq(
"org.locationtech.geotrellis" %% "geotrellis-spark" % "2.1.0",
"org.apache.spark" %% "spark-core" % "2.3.1",
"com.typesafe.akka" %% "akka-actor" % "2.4.3",
"com.typesafe.akka" %% "akka-http" % "10.0.3",
"com.typesafe.akka" %% "akka-http-spray-json" % "10.0.7",
"org.scalatest" %% "scalatest" % "2.2.0" % "test"
)
assemblyMergeStrategy in assembly := {
case "reference.conf" => MergeStrategy.concat
case "application.conf" => MergeStrategy.concat
case "META-INF/MANIFEST.MF" => MergeStrategy.discard
case "META-INF\\MANIFEST.MF" => MergeStrategy.discard
case "META-INF/ECLIPSEF.RSA" => MergeStrategy.discard
case "META-INF/ECLIPSEF.SF" => MergeStrategy.discard
case _ => MergeStrategy.first
}