Skip to content

Commit

Permalink
= project: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sirthias committed Jan 24, 2017
1 parent 0a377ae commit d32c683
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions build.sbt
Expand Up @@ -7,7 +7,7 @@ import org.scalajs.sbtplugin.cross.CrossType
val commonSettings = Seq(
version := "2.1.4-SNAPSHOT",
scalaVersion := "2.11.8",
crossScalaVersions := Seq("2.11.8", "2.12.0"),
crossScalaVersions := Seq("2.11.8", "2.12.1"),
organization := "org.parboiled",
homepage := Some(new URL("http://parboiled.org")),
description := "Fast and elegant PEG parsing in Scala - lightweight, easy-to-use, powerful",
Expand Down Expand Up @@ -40,10 +40,10 @@ val formattingSettings = scalariformSettings ++ Seq(
val publishingSettings = Seq(
publishMavenStyle := true,
useGpg := true,
publishTo <<= version { v: String =>
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
if (version.value.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
pomIncludeRepository := { _ => false },
pomExtra :=
Expand Down Expand Up @@ -71,8 +71,8 @@ val noPublishingSettings = Seq(

def scalaReflect(v: String) = "org.scala-lang" % "scala-reflect" % v % "provided"
val shapeless = "com.chuusai" %% "shapeless" % "2.3.2" % "compile"
val specs2Core = "org.specs2" %% "specs2-core" % "3.8.6" % "test"
val specs2ScalaCheck = "org.specs2" %% "specs2-scalacheck" % "3.8.6" % "test"
val specs2Core = "org.specs2" %% "specs2-core" % "3.8.7" % "test"
val specs2ScalaCheck = "org.specs2" %% "specs2-scalacheck" % "3.8.7" % "test"

/////////////////////// PROJECTS /////////////////////////

Expand All @@ -86,7 +86,7 @@ lazy val examples = project
.dependsOn(parboiledJVM)
.settings(commonSettings: _*)
.settings(noPublishingSettings: _*)
.settings(libraryDependencies ++= Seq(specs2Core, "io.spray" %% "spray-json" % "1.3.2"))
.settings(libraryDependencies ++= Seq(specs2Core, "io.spray" %% "spray-json" % "1.3.3"))

lazy val bench = inputKey[Unit]("Runs the JSON parser benchmark with a simple standard config")

Expand All @@ -97,9 +97,9 @@ lazy val jsonBenchmark = project
.settings(noPublishingSettings: _*)
.settings(
libraryDependencies ++= Seq(
"org.json4s" %% "json4s-native" % "3.4.1",
"org.json4s" %% "json4s-jackson" % "3.4.1",
"io.argonaut" %% "argonaut" % "6.1"),
"org.json4s" %% "json4s-native" % "3.5.0",
"org.json4s" %% "json4s-jackson" % "3.5.0",
"io.argonaut" %% "argonaut" % "6.2-RC2"),
bench := (run in Compile).partialInput(" -i 10 -wi 10 -f1 -t1").evaluated)

lazy val scalaParser = project
Expand Down
Expand Up @@ -31,7 +31,7 @@ class JsonParserBenchmark {
def argonaut_(state: TestState) =
argonaut.Parse.parseOption(state.json).get

@Benchmark
def parserCombinators(state: TestState): Unit =
util.parsing.json.JSON.parseRaw(state.json).get
//@Benchmark
//def parserCombinators(state: TestState): Unit =
// util.parsing.json.JSON.parseRaw(state.json).get
}
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=0.13.9
sbt.version=0.13.13
6 changes: 3 additions & 3 deletions project/plugins.sbt
@@ -1,7 +1,7 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.3.0")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.1")

addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.2.16")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.2.20")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.13")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.14")

0 comments on commit d32c683

Please sign in to comment.