Skip to content

Commit 42da5f9

Browse files
committed
Clean up of build
1 parent 9248502 commit 42da5f9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.sbt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ lazy val `jsoniter-scala-benchmark` = crossProject(JVMPlatform, JSPlatform)
249249
.settings(
250250
crossScalaVersions := Seq("3.3.3", "2.13.14"),
251251
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
252-
case Some((3, _)) => Seq("-Yretain-trees", "-Xmax-inlines:100")
253-
case _ => Seq()
252+
case Some((2, _)) => Seq()
253+
case _ => Seq("-Yretain-trees", "-Xmax-inlines:100")
254254
}),
255255
libraryDependencies ++= Seq(
256256
"io.spray" %% "spray-json" % "1.3.6",
@@ -274,14 +274,14 @@ lazy val `jsoniter-scala-benchmark` = crossProject(JVMPlatform, JSPlatform)
274274
"org.openjdk.jmh" % "jmh-generator-reflection" % "1.37",
275275
"org.scalatest" %%% "scalatest" % "3.2.19" % Test
276276
) ++ (CrossVersion.partialVersion(scalaVersion.value) match {
277-
case Some((3, _)) => Seq(
278-
"io.bullet" %%% "borer-derivation" % "1.14.1"
279-
)
280-
case _ => Seq(
277+
case Some((2, _)) => Seq(
281278
"io.bullet" %%% "borer-derivation" % "1.8.0",
282279
"com.avsystem.commons" %%% "commons-core" % "2.16.0",
283280
"com.dslplatform" %% "dsl-json-scala" % "2.0.2"
284281
)
282+
case _ => Seq(
283+
"io.bullet" %%% "borer-derivation" % "1.14.1"
284+
)
285285
}),
286286
Compile / doc / sources := Seq()
287287
)

0 commit comments

Comments
 (0)