diff options
author | Mathias <mathias@spray.cc> | 2011-11-09 11:33:46 +0100 |
---|---|---|
committer | Mathias <mathias@spray.cc> | 2011-11-09 12:40:16 +0100 |
commit | 9cda445514efe7700544e2b121c2258a69b9b207 (patch) | |
tree | 3e195b19204346e72dace087597014a6ab451677 /build.sbt | |
parent | c453ff95bcd69f57299b198c552e409e27488f74 (diff) | |
download | spray-json-9cda445514efe7700544e2b121c2258a69b9b207.tar.gz spray-json-9cda445514efe7700544e2b121c2258a69b9b207.tar.bz2 spray-json-9cda445514efe7700544e2b121c2258a69b9b207.zip |
Upgrade to SBT 0.11.0
Diffstat (limited to 'build.sbt')
-rw-r--r-- | build.sbt | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..c85e326 --- /dev/null +++ b/build.sbt @@ -0,0 +1,55 @@ +name := "spray-json" + +organization := "cc.spray.json" + +version := "1.1.0-SNAPSHOT" + +scalaVersion := "2.9.1" + +scalacOptions := Seq("-deprecation", "-encoding", "utf8") + +libraryDependencies ++= Seq( + "org.parboiled" % "parboiled-scala" % "1.0.2" % "compile", + "org.specs2" %% "specs2" % "1.6.1" % "test" +) + +scaladocOptions <<= (name, version).map { (n, v) => Seq("-doc-title", n + " " + v) } + +credentials += Credentials(Path.userHome / ".ivy2" / ".credentials") + +publishMavenStyle := true + +publishTo <<= version { version => + Some { + "snapshots" at { + "http://nexus.scala-tools.org/content/repositories/" + { + if (version.trim.endsWith("SNAPSHOT")) "snapshots/" else"releases/" + } + } + } +} + +pomExtra := ( + <name>spray JSON</name> + <url>http://spray.cc/</url> + <inceptionYear>2011</inceptionYear> + <description>A Scala library for easy and idiomatic JSON (de)serialization</description> + <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 |