-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.sbt
55 lines (49 loc) · 2.09 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
47
48
49
50
51
52
53
54
55
name := "scala-landsat-util"
version := Version.landsatUtil
scalaVersion := Version.scala
description := "API client for Developmentseed's landsat-api"
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 + " > " }
resolvers += "LocationTech GeoTrellis Releases" at "https://repo.locationtech.org/content/repositories/geotrellis-releases"
val gtMode = if(sys.props.get("INCLUDE_GT").isDefined) "compile" else "provided"
libraryDependencies ++= Seq(
"io.spray" %% "spray-json" % "1.3.2",
"com.typesafe.akka" %% "akka-actor" % Version.akka,
"com.typesafe.akka" %% "akka-http" % Version.akkaHttp,
"com.typesafe.akka" %% "akka-http-spray-json" % Version.akkaHttp,
"org.locationtech.geotrellis" %% "geotrellis-vector" % Version.geotrellis % gtMode,
"org.locationtech.geotrellis" %% "geotrellis-raster" % Version.geotrellis % gtMode,
"org.apache.commons" % "commons-compress" % "1.13",
"org.apache.commons" % "commons-io" % "1.3.2",
"com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
"com.amazonaws" % "aws-java-sdk-s3" % "1.11.60",
"com.chuusai" %% "shapeless" % "2.3.2",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
)
bintrayOrganization := Some("azavea")
bintrayRepository := "maven"
bintrayVcsUrl := Some("https://github.com/azavea/scala-landsat-util.git")
bintrayPackageLabels := Seq("scala", "landsat", "maps", "gis", "geographic", "data", "raster", "processing")
initialCommands in console :=
"""
import com.azavea.landsatutil._
import geotrellis.vector._
import geotrellis.vector.io._
import geotrellis.vector.io.json.GeoJson
import geotrellis.raster._
"""