Skip to content

Commit

Permalink
Merge pull request #578 from armanbilge/issue/577
Browse files Browse the repository at this point in the history
Also add `scalac-compat` to `Test` scope
  • Loading branch information
armanbilge authored Jun 28, 2023
2 parents 3c11cd8 + a9dbb1f commit 2e82571
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ object TypelevelSettingsPlugin extends AutoPlugin {
"org.typelevel" % "kind-projector" % "0.13.2" cross CrossVersion.full)
)

Seq(
"org.typelevel" %% "scalac-compat-annotation" % "0.1.2" % CompileTime
) ++ plugins
val scalacCompat =
Seq(CompileTime, Test).map("org.typelevel" %% "scalac-compat-annotation" % "0.1.2" % _)

scalacCompat ++ plugins
},

// Adapted from Rob Norris' post at https://tpolecat.github.io/2014/04/11/scalac-flags.html
Expand Down

0 comments on commit 2e82571

Please sign in to comment.