name := "spray-json"
organization := "cc.spray.json"
version := "1.1.0-SNAPSHOT"
description := "A Scala library for easy and idiomatic JSON (de)serialization"
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 := (
http://spray.cc/
2011
Apache 2
http://www.apache.org/licenses/LICENSE-2.0.txt
repo
sirthias
Mathias Doenitz
+1
mathias [at] spray.cc
http://github.com/spray/spray-json/
)