summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.sbt41
-rw-r--r--project/plugins.sbt6
-rw-r--r--src/main/ls/1.1.0.json22
3 files changed, 45 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
diff --git a/project/plugins.sbt b/project/plugins.sbt
new file mode 100644
index 0000000..9660fcf
--- /dev/null
+++ b/project/plugins.sbt
@@ -0,0 +1,6 @@
+addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")
+
+resolvers ++= Seq(
+ "less is" at "http://repo.lessis.me",
+ "coda" at "http://repo.codahale.com"
+) \ No newline at end of file
diff --git a/src/main/ls/1.1.0.json b/src/main/ls/1.1.0.json
new file mode 100644
index 0000000..9504e42
--- /dev/null
+++ b/src/main/ls/1.1.0.json
@@ -0,0 +1,22 @@
+
+{
+ "organization":"cc.spray",
+ "name":"spray-json",
+ "version":"1.1.0",
+ "description":"A Scala library for easy and idiomatic JSON (de)serialization",
+ "site":"https://github.com/spray/spray-json",
+ "tags":["json"],
+ "docs":"http://spray.github.com/spray/api/spray-json/",
+ "licenses": [{
+ "name": "Apache 2",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ }],
+ "resolvers": ["http://repo.spray.cc"],
+ "dependencies": [{
+ "organization":"org.parboiled",
+ "name": "parboiled-scala",
+ "version": "1.0.2"
+ }],
+ "scalas": ["2.9.1"],
+ "sbt": false
+} \ No newline at end of file