Skip to content
Browse files

Add ls-sbt bits

  • Loading branch information...
1 parent eda1264 commit 23ba08be46c3d31b26528cb54e28f3516307484f @sirthias sirthias committed Feb 1, 2012
Showing with 45 additions and 24 deletions.
  1. +17 −24 build.sbt
  2. +6 −0 project/plugins.sbt
  3. +22 −0 src/main/ls/1.1.0.json
View
41 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>
-)
+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")
View
6 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"
+)
View
22 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
+}

0 comments on commit 23ba08b

Please sign in to comment.
Something went wrong with that request. Please try again.