Skip to content

Commit 8759831

Browse files
author
Josh Devins
committed
moved to SBT
1 parent b3efbc2 commit 8759831

File tree

4 files changed

+30
-3
lines changed

4 files changed

+30
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
.settings
44
target
55
project/boot
6+
.scala_dependencies

build.sbt

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,27 @@ version := "0.1"
55
scalaVersion := "2.9.0-1"
66

77
// dependencies
8-
libraryDependencies += "junit" % "junit" % "4.8" % "test"
8+
// geo
9+
{
10+
val geotoolsVersion = "2.7.2"
11+
libraryDependencies += "org.geotools" % "gt-main" % geotoolsVersion
12+
libraryDependencies += "org.geotools" % "gt-shapefile" % geotoolsVersion
13+
}
14+
15+
// test
16+
libraryDependencies += "com.novocode" % "junit-interface" % "0.7" % "test->default"
17+
18+
libraryDependencies += "junit" % "junit" % "4.8.1" % "test"
19+
20+
libraryDependencies += "org.scala-tools.testing" %% "scalacheck" % "1.9" % "test"
21+
22+
// plugins
23+
seq(sbtassembly.Plugin.assemblySettings: _*)
24+
25+
// resolvers
26+
resolvers += "Nexus Public Repo" at "http://nexus.places.devbln.europe.nokia.com/nexus/content/groups/public/"
27+
28+
resolvers += "Nexus Public Snapshots Repo" at "http://nexus.places.devbln.europe.nokia.com/nexus/content/groups/public-snapshots/"
29+
30+
// other
31+
ivyLoggingLevel := UpdateLogging.Full

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<dependencies>
1515

16-
<!-- GEO -->
16+
<!-- GEO -->
1717
<dependency>
1818
<groupId>org.geotools</groupId>
1919
<artifactId>gt-main</artifactId>
@@ -75,7 +75,7 @@
7575
<plugin>
7676
<groupId>org.apache.maven.plugins</groupId>
7777
<artifactId>maven-compiler-plugin</artifactId>
78-
<version>2.3.2</version>
78+
<version>2.3.2</version>
7979
<configuration>
8080
<compilerVersion>${java.version}</compilerVersion>
8181
<source>${java.version}</source>

project/plugins/build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
// assembly -- https://github.com/eed3si9n/sbt-assembly
3+
libraryDependencies <+= (sbtVersion) { sv => "com.eed3si9n" %% "sbt-assembly" % ("sbt" + sv + "_0.6") }

0 commit comments

Comments
 (0)