-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
59 lines (46 loc) · 1.67 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
name := "GIS Shapes Reverse Geocoder"
organization := "net.joshdevins.gis"
version := "0.0.1"
scalaVersion := "2.9.0-1"
ivyLoggingLevel := UpdateLogging.Full
// dependencies
// geo
{
val geotoolsVersion = "2.7.2"
libraryDependencies += "org.geotools" % "gt-main" % geotoolsVersion
libraryDependencies += "org.geotools" % "gt-shapefile" % geotoolsVersion
}
// Akka/Spray
libraryDependencies ++= Seq(
"se.scalablesolutions.akka" % "akka" % "1.1.3",
"cc.spray" %% "spray-http" % "0.7.0" % "compile" withSources(),
"cc.spray" %% "spray-server" % "0.7.0" % "compile" withSources(),
"cc.spray.json" %% "spray-json" % "1.0.0" % "compile" withSources()
)
// logging
libraryDependencies ++= Seq(
"com.codahale" %% "logula" % "2.1.3"
)
// test
libraryDependencies ++= Seq(
"junit" % "junit" % "4.8.1" % "test",
"org.scalatest" %% "scalatest" % "1.6.1" % "test",
"org.eclipse.jetty" % "jetty-server" % "8.0.0.M3" % "jetty",
"org.eclipse.jetty" % "jetty-webapp" % "8.0.0.M3" % "jetty"
)
// plugins
seq(sbtassembly.Plugin.assemblySettings: _*) // assembly
seq(webSettings :_*) // web settings
{
val testResources = new File("src/jetty/resources")
managedClasspath in jettyClasspaths += Attributed.blank(testResources)
}
// scalac
scalacOptions ++= Seq("-unchecked", "-deprecation")
// resolvers
resolvers ++= Seq(
"Nexus Public Repo" at "http://nexus.places.devbln.europe.nokia.com/nexus/content/groups/public/",
"Nexus Public Snapshots Repo" at "http://nexus.places.devbln.europe.nokia.com/nexus/content/groups/public-snapshots/",
"Akka Repository" at "http://akka.io/repository",
"Coda Hale Repository" at "http://repo.codahale.com"
)