-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
60 lines (53 loc) · 2.34 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
56
57
58
59
60
scalaVersion := "2.11.12"
description := "OSMesa Statistics Server"
organization := "azavea"
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-Ypartial-unification",
"-language:implicitConversions",
"-language:reflectiveCalls",
"-language:higherKinds",
"-language:postfixOps",
"-language:existentials",
"-feature"
)
externalResolvers ++= Seq(
"locationtech-releases" at "https://repo.locationtech.org/content/groups/releases",
"locationtech-snapshots" at "https://repo.locationtech.org/content/groups/snapshots",
Resolver.file("localBackup", file(Path.userHome.absolutePath + "/.ivy2/local"))(Resolver.ivyStylePatterns)
)
val Http4sVer = "0.18.11"
val DoobieVer = "0.5.3"
val CirceVer = "0.10.0-M1"
val ScalaTestVer = "3.0.5"
val GeotrellisVer = "2.0.0-RC1"
val fs2BlobstoreVer = "0.1.+"
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-simple" % "1.7.25",
"com.amazonaws" % "aws-java-sdk-s3" % "1.11.283",
"org.http4s" %% "http4s-blaze-server" % Http4sVer,
"org.http4s" %% "http4s-dsl" % Http4sVer,
"org.http4s" %% "http4s-circe" % Http4sVer,
"io.circe" %% "circe-core" % CirceVer,
"io.circe" %% "circe-generic" % CirceVer,
"io.circe" %% "circe-parser" % CirceVer,
"io.circe" %% "circe-java8" % CirceVer,
"io.circe" %% "circe-generic-extras" % CirceVer,
"org.tpolecat" %% "doobie-core" % DoobieVer,
"org.tpolecat" %% "doobie-postgres" % DoobieVer,
"org.tpolecat" %% "doobie-hikari" % DoobieVer,
"org.tpolecat" %% "doobie-scalatest" % DoobieVer % "test",
"org.flywaydb" % "flyway-core" % "4.2.0",
"com.github.pureconfig" %% "pureconfig" % "0.9.1",
"org.locationtech.geotrellis" %% "geotrellis-raster" % GeotrellisVer,
"org.locationtech.geotrellis" %% "geotrellis-spark" % GeotrellisVer,
"org.locationtech.geotrellis" %% "geotrellis-vectortile" % GeotrellisVer,
"com.lendup.fs2-blobstore" %% "core" % fs2BlobstoreVer,
"com.lendup.fs2-blobstore" %% "sftp" % fs2BlobstoreVer,
"com.lendup.fs2-blobstore" %% "s3" % fs2BlobstoreVer,
"org.scalatest" %% "scalatest" % ScalaTestVer % "test"
)
parallelExecution in Test := false
assemblyJarName in assembly := "osm-stat-server.jar"