summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorMathias <mathias@spray.cc>2012-02-03 15:52:50 +0100
committerMathias <mathias@spray.cc>2012-02-03 15:52:50 +0100
commit48dfbad3a00ba514a3bf80d503a5a8a318631995 (patch)
treeb0ea9205790f8f8148f4e655fd3569d24c7fc4fc /build.sbt
parentc6b5edcb5665b0ef60b5108d8cff3431c0663927 (diff)
parent129760aa1a75c62e6cd2088fa6ad37ff7ee35d68 (diff)
downloadspray-json-48dfbad3a00ba514a3bf80d503a5a8a318631995.tar.gz
spray-json-48dfbad3a00ba514a3bf80d503a5a8a318631995.tar.bz2
spray-json-48dfbad3a00ba514a3bf80d503a5a8a318631995.zip
Merge branch 'release/1.1.0' into develop
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt46
1 files changed, 20 insertions, 26 deletions
diff --git a/build.sbt b/build.sbt
index d49333c..73e4f98 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,11 +1,19 @@
name := "spray-json"
-organization := "cc.spray.json"
+version := "1.1.0"
-version := "1.1.0-SNAPSHOT"
+organization := "cc.spray"
+
+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,33 +31,19 @@ publishMavenStyle := true
publishTo <<= version { version =>
Some {
- "snapshots" at {
- "http://nexus.scala-tools.org/content/repositories/" + {
+ "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/"
}
}
}
}
-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