summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorMathias <mathias@spray.cc>2012-10-15 12:24:58 +0200
committerMathias <mathias@spray.cc>2012-10-15 12:27:02 +0200
commit6738e705028b9c8ca2a27536f8adfad227df9f36 (patch)
tree1ac2dc8625cb51c19a59ea62c5659cecfe7ecf0b /build.sbt
parent72987d6fa81c944470a1b16c1fa9a727c82c459b (diff)
downloadspray-json-6738e705028b9c8ca2a27536f8adfad227df9f36.tar.gz
spray-json-6738e705028b9c8ca2a27536f8adfad227df9f36.tar.bz2
spray-json-6738e705028b9c8ca2a27536f8adfad227df9f36.zip
Prepare for release 1.2.1v1.2.1
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt19
1 files changed, 14 insertions, 5 deletions
diff --git a/build.sbt b/build.sbt
index 833295d..29835d1 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,6 +1,6 @@
name := "spray-json"
-version := "1.2"
+version := "1.2.1"
organization := "io.spray"
@@ -14,12 +14,19 @@ startYear := Some(2011)
licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
-scalaVersion := "2.9.2"
+scalaVersion := "2.10.0-RC1"
-scalacOptions := Seq("-deprecation", "-encoding", "utf8")
+scalacOptions <<= scalaVersion map {
+ case x if x startsWith "2.9" =>
+ Seq("-unchecked", "-deprecation", "-encoding", "utf8")
+ case x if x startsWith "2.10" =>
+ Seq("-feature", "-language:implicitConversions", "-unchecked", "-deprecation", "-encoding", "utf8")
+}
+
+resolvers += "sonatype releases" at "https://oss.sonatype.org/content/repositories/releases/"
libraryDependencies ++= Seq(
- "org.parboiled" %% "parboiled-scala" % "1.1.1" % "compile",
+ "org.parboiled" %% "parboiled-scala" % "1.1.2" % "compile",
"org.specs2" %% "specs2" % "1.12.2" % "test"
)
@@ -30,7 +37,9 @@ scaladocOptions <<= (name, version).map { (n, v) => Seq("-doc-title", n + " " +
// publishing
///////////////
-credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
+crossScalaVersions := Seq("2.9.2", "2.10.0-RC1")
+
+scalaBinaryVersion <<= scalaVersion(sV => if (CrossVersion.isStable(sV)) CrossVersion.binaryScalaVersion(sV) else sV)
publishMavenStyle := true