Skip to content

Commit

Permalink
Move code coverage opinionated settings to build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lorandszakacs committed Oct 25, 2022
1 parent 5113b37 commit 0a462b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/main/scala/io/circe/sbt/CirceOrgPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ object CirceOrgPlugin extends AutoPlugin {
override def requires: Plugins = TypelevelPlugin && ScoverageSbtPlugin

override def buildSettings: Seq[Setting[_]] =
publishSettings ++ organizationSettings ++ scalafixSettings ++ githubActionsSettings
codeCoverageSettings ++ publishSettings ++ organizationSettings ++ scalafixSettings ++ githubActionsSettings

override def projectSettings = Seq(
override def projectSettings: Seq[Setting[_]] = Seq.empty

lazy val codeCoverageSettings: Seq[Setting[_]] = Seq(
coverageHighlighting := true,
coverageExcludedPackages := "io.circe.examples.*"
)
Expand Down

0 comments on commit 0a462b2

Please sign in to comment.