Skip to content

Commit

Permalink
Don't depend on scala-collection-compat when using Scala >= 2.13 (#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpablo authored May 30, 2022
1 parent cc17a70 commit c192286
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 @@ -106,8 +106,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
}
},
)
.dependsOn(zhttpLogging)

Expand Down

0 comments on commit c192286

Please sign in to comment.