Skip to content

Commit

Permalink
try to fix partial unification, why does this plugin never work!
Browse files Browse the repository at this point in the history
  • Loading branch information
andimiller committed Jul 5, 2019
1 parent b7fcef5 commit 213d4df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ scalaVersion := "2.13.0"

crossScalaVersions := List("2.12.8", "2.11.12", "2.13.0")

def enablePartialUnification(version: String) = version match {
case "2.11" | "2.12" => List("-Ypartial-unification")
case "2.13" => List.empty
}

scalacOptions ++= enablePartialUnification(scalaBinaryVersion.value)

lazy val catsEffectVersion = "2.0.0-M4"
lazy val fs2Version = "1.1.0-M1"
lazy val spotifyDockerVersion = "8.14.4"
Expand Down

0 comments on commit 213d4df

Please sign in to comment.