Skip to content

Commit

Permalink
Don't depend on scala-collection-compat when using Scala >= 2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
jpablo committed May 29, 2022
1 parent c29b787 commit 4c77373
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,13 @@ lazy val zhttp = (project in file("zio-http"))
`zio-test`,
`zio-test-sbt`,
`netty-incubator`,
`scala-compact-collection`,
),
libraryDependencies ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, n)) if n <= 12 => Seq(`scala-compact-collection`)
case _ => Seq.empty
}
},
)

lazy val zhttpBenchmarks = (project in file("zio-http-benchmarks"))
Expand Down

0 comments on commit 4c77373

Please sign in to comment.