summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorMathias <mathias@spray.cc>2012-02-01 14:39:49 +0100
committerMathias <mathias@spray.cc>2012-02-01 14:39:49 +0100
commit23ba08be46c3d31b26528cb54e28f3516307484f (patch)
treec52624c383d2eff98f417d0fff7636ab01da76ab /build.sbt
parenteda1264a7b95d20d257876a074c94834d6939ac2 (diff)
downloadspray-json-23ba08be46c3d31b26528cb54e28f3516307484f.tar.gz
spray-json-23ba08be46c3d31b26528cb54e28f3516307484f.tar.bz2
spray-json-23ba08be46c3d31b26528cb54e28f3516307484f.zip
Add ls-sbt bits
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt41
1 files changed, 17 insertions, 24 deletions
diff --git a/build.sbt b/build.sbt
index 0d8e929..73e4f98 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,11 +1,19 @@
name := "spray-json"
+version := "1.1.0"
+
organization := "cc.spray"
-version := "1.1.0"
+organizationHomepage := Some(new URL("http://spray.cc"))
description := "A Scala library for easy and idiomatic JSON (de)serialization"
+homepage := Some(new URL("https://github.com/spray/spray-json"))
+
+startYear := Some(2011)
+
+licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
+
scalaVersion := "2.9.1"
scalacOptions := Seq("-deprecation", "-encoding", "utf8")
@@ -23,7 +31,7 @@ publishMavenStyle := true
publishTo <<= version { version =>
Some {
- "spray nexus" at {
+ "spray repo" at {
// public uri is repo.spray.cc, we use an SSH tunnel to the nexus here
"http://localhost:42424/content/repositories/" + {
if (version.trim.endsWith("SNAPSHOT")) "snapshots/" else"releases/"
@@ -32,25 +40,10 @@ publishTo <<= version { version =>
}
}
-pomExtra := (
- <url>http://spray.cc/</url>
- <inceptionYear>2011</inceptionYear>
- <licenses>
- <license>
- <name>Apache 2</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <developers>
- <developer>
- <id>sirthias</id>
- <name>Mathias Doenitz</name>
- <timezone>+1</timezone>
- <email>mathias [at] spray.cc</email>
- </developer>
- </developers>
- <scm>
- <url>http://github.com/spray/spray-json/</url>
- </scm>
-) \ No newline at end of file
+seq(lsSettings:_*)
+
+(LsKeys.tags in LsKeys.lsync) := Seq("json")
+
+(LsKeys.docsUrl in LsKeys.lsync) := Some(new URL("http://spray.github.com/spray/api/spray-json/"))
+
+(externalResolvers in LsKeys.lsync) := Seq("spray repo" at "http://repo.spray.cc") \ No newline at end of file