@@ -179,7 +179,6 @@ object ScalatestBuild extends Build {
179
179
case Some ((2 , scalaMajor)) if scalaMajor >= 11 =>
180
180
Seq (
181
181
" org.scala-lang.modules" %% " scala-xml" % " 1.0.6" ,
182
- // "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.6", This is needed only by SbtCommandParser, but we are not support it currently.
183
182
scalacheckDependency(" optional" )
184
183
)
185
184
case _ =>
@@ -222,8 +221,7 @@ object ScalatestBuild extends Build {
222
221
Seq (
223
222
" commons-io" % " commons-io" % " 1.3.2" % " test" ,
224
223
" org.eclipse.jetty" % " jetty-server" % " 8.1.18.v20150929" % " test" ,
225
- " org.eclipse.jetty" % " jetty-webapp" % " 8.1.18.v20150929" % " test" ,
226
- " io.spray" %% " spray-json" % " 1.3.4" % " test"
224
+ " org.eclipse.jetty" % " jetty-webapp" % " 8.1.18.v20150929" % " test"
227
225
)
228
226
229
227
def scalatestJSLibraryDependencies =
@@ -293,6 +291,7 @@ object ScalatestBuild extends Build {
293
291
.settings(
294
292
projectTitle := " Common test classes used by scalactic and scalatest" ,
295
293
libraryDependencies += scalacheckDependency(" optional" ),
294
+ libraryDependencies += " org.scala-lang.modules" %% " scala-parser-combinators" % " 1.0.6" ,
296
295
libraryDependencies ++= crossBuildTestLibraryDependencies(scalaVersion.value)
297
296
).dependsOn(scalacticMacro, LocalProject (" scalatest" ))
298
297
@@ -301,6 +300,9 @@ object ScalatestBuild extends Build {
301
300
.settings(
302
301
projectTitle := " Common test classes used by scalactic.js and scalatest.js" ,
303
302
libraryDependencies += scalacheckDependency(" optional" ),
303
+ // Currently 1.0.6 for scala-js does not contain anything due to a reported bug: https://github.com/scala/scala-parser-combinators/issues/119
304
+ // 1.0.5 works for scala 2.12 but not 2.13, we should use 1.0.7 once it is published which suppose to support scala 2.13.
305
+ libraryDependencies += " org.scala-lang.modules" %%% " scala-parser-combinators" % " 1.0.5" ,
304
306
libraryDependencies ++= crossBuildTestLibraryDependencies(scalaVersion.value),
305
307
sourceGenerators in Compile += {
306
308
Def .task{
@@ -686,7 +688,6 @@ object ScalatestBuild extends Build {
686
688
organization := " org.scalatest" ,
687
689
libraryDependencies ++= crossBuildLibraryDependencies(scalaVersion.value),
688
690
libraryDependencies += " org.scalacheck" %%% " scalacheck" % scalacheckVersion % " test" ,
689
- libraryDependencies += " io.spray" %% " spray-json" % " 1.3.4" % " optional" ,
690
691
// jsDependencies += RuntimeDOM % "test",
691
692
scalaJSOptimizerOptions ~= { _.withDisableOptimizer(true ) },
692
693
// jsEnv := NodeJSEnv(executable = "node").value,
@@ -855,8 +856,7 @@ object ScalatestBuild extends Build {
855
856
" junit" % " junit" % junitVersion % " optional" ,
856
857
" org.testng" % " testng" % testngVersion % " optional" ,
857
858
" org.jmock" % " jmock-legacy" % jmockVersion % " optional" ,
858
- " org.pegdown" % " pegdown" % pegdownVersion % " optional" ,
859
- " io.spray" %% " spray-json" % " 1.3.4" % " optional"
859
+ " org.pegdown" % " pegdown" % pegdownVersion % " optional"
860
860
861
861
)
862
862
0 commit comments