Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #115 from xuwei-k/update-jackson
Browse files Browse the repository at this point in the history
bump jackson-module-scala version. enable all tests
  • Loading branch information
hoffrocket committed Nov 15, 2016
2 parents a5cb64b + 6394934 commit c27d178
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions build.sbt
Expand Up @@ -19,19 +19,7 @@ libraryDependencies ++= {
case Some((2, 10 | 11)) =>
Seq("com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.4.2" % "test")
case _ =>
Nil
}
}

// TODO enable all tests when released jackson-module-scala_2.12
sources in Test := {
val testSources = (sources in Test).value
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, v)) if v <= 11 =>
testSources
case _ =>
val excludeTests = Set("HttpBinTest.scala", "Json.scala")
testSources.filterNot(f => excludeTests(f.getName))
Seq("com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.8.4" % "test")
}
}

Expand Down

0 comments on commit c27d178

Please sign in to comment.