forked from geotrellis/vectorpipe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
80 lines (63 loc) · 2.68 KB
/
build.sbt
File metadata and controls
80 lines (63 loc) · 2.68 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name := "vectorpipe"
version := "0.2.2"
description := "Convert Vector data to VectorTiles with GeoTrellis."
organization := "com.azavea"
organizationName := "Azavea"
scalaVersion in ThisBuild := "2.11.12"
val common = Seq(
resolvers ++= Seq(
"locationtech-releases" at "https://repo.locationtech.org/content/groups/releases",
Resolver.bintrayRepo("azavea", "maven")
),
scalacOptions := Seq(
"-deprecation",
"-Ypartial-unification",
"-Ywarn-value-discard",
"-Ywarn-unused-import",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen"
),
scalacOptions in (Compile, doc) += "-groups",
/* For Monocle's Lens auto-generation */
addCompilerPlugin("org.scalamacros" %% "paradise" % "2.1.0" cross CrossVersion.full),
libraryDependencies ++= Seq(
"com.github.julien-truffaut" %% "monocle-core" % "1.5.0-cats-M2",
"com.github.julien-truffaut" %% "monocle-macro" % "1.5.0-cats-M2",
"io.dylemma" %% "xml-spac" % "0.3",
"org.apache.spark" %% "spark-hive" % "2.2.0" % "provided",
"org.locationtech.geotrellis" %% "geotrellis-spark" % "1.2.0",
"org.locationtech.geotrellis" %% "geotrellis-vectortile" % "1.2.0",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.spire-math" %% "spire" % "0.13.0",
"org.typelevel" %% "cats-core" % "1.0.0-RC1"
),
parallelExecution in Test := false
)
val release = Seq(
bintrayOrganization := Some("azavea"),
licenses += ("Apache-2.0", url("http://apache.org/licenses/LICENSE-2.0"))
)
lazy val lib = project.in(file(".")).settings(common, release)
/* Benchmarking suite.
* Benchmarks can be executed by first switching to the `bench` project and then by running:
jmh:run -t 1 -f 1 -wi 5 -i 5 .*Bench.*
*/
lazy val bench = project.in(file("bench")).settings(common).dependsOn(lib).enablePlugins(JmhPlugin)
/* Microsite Settings
*
* To generate the microsite locally, use `sbt makeMicrosite`.
* To publish the site to Github, use `sbt publishMicrosite`.
*
* Spark deps must not be marked `provided` while doing these, or you will get errors.
*/
enablePlugins(MicrositesPlugin)
enablePlugins(SiteScaladocPlugin)
micrositeName := "VectorPipe"
micrositeDescription := "Convert Vector data into VectorTiles"
micrositeAuthor := "GeoTrellis Team at Azavea"
micrositeGitterChannel := false
micrositeOrganizationHomepage := "https://www.azavea.com/"
micrositeGithubOwner := "geotrellis"
micrositeGithubRepo := "vectorpipe"
micrositeBaseUrl := "/vectorpipe"
micrositeDocumentationUrl := "/vectorpipe/latest/api/#vectorpipe.package" /* Location of Scaladocs */