Skip to content

Commit

Permalink
Merge pull request spray#269 from jrudolph/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
jrudolph committed Aug 7, 2018
2 parents 7b0d5d8 + d2f0f99 commit 3e4d7da
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 27 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,6 @@ scala:
- 2.10.7
- 2.11.12
- 2.12.6
- 2.13.0-M3
script:
- sbt "++ ${TRAVIS_SCALA_VERSION}!" test mimaReportBinaryIssues
jdk:
Expand Down
26 changes: 4 additions & 22 deletions build.sbt
Expand Up @@ -16,30 +16,20 @@ startYear := Some(2011)

licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))

scalaVersion := "2.11.12"

scalacOptions ++= Seq("-feature", "-language:_", "-unchecked", "-deprecation", "-Xlint", "-encoding", "utf8")

resolvers += Opts.resolver.sonatypeReleases

libraryDependencies ++=
(CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, n)) if n >= 13 =>
Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "0.1.2")
case _ =>
Nil
})

libraryDependencies ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 10)) => Seq(
"org.specs2" %% "specs2-core" % "3.8.9" % "test",
"org.specs2" %% "specs2-scalacheck" % "3.8.9" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test"
)
case Some((2, n)) if n >= 11 => Seq(
"org.specs2" %% "specs2-core" % "4.0.2" % "test",
"org.specs2" %% "specs2-scalacheck" % "4.0.2" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.5" % "test"
"org.specs2" %% "specs2-core" % "4.3.2" % "test",
"org.specs2" %% "specs2-scalacheck" % "4.3.2" % "test",
"org.scalacheck" %% "scalacheck" % "1.14.0" % "test"
)
case _ => Nil
})
Expand Down Expand Up @@ -77,15 +67,7 @@ mimaBinaryIssueFilters := Seq(
// publishing
///////////////

crossScalaVersions := Seq("2.10.7", "2.11.12", "2.12.6", "2.13.0-M3")

scalaBinaryVersion := {
val sV = scalaVersion.value
if (CrossVersion.isScalaApiCompatible(sV))
CrossVersion.binaryScalaVersion(sV)
else
sV
}
crossScalaVersions := Seq("2.12.6", "2.10.7", "2.11.12")

publishMavenStyle := true

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=1.1.6
sbt.version=1.2.0
6 changes: 3 additions & 3 deletions project/plugins.sbt
@@ -1,7 +1,7 @@
addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.6.1")

addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.4")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")

addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.18")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.3.0")

0 comments on commit 3e4d7da

Please sign in to comment.