Skip to content

Commit

Permalink
Remove coverage; not supported on scala3
Browse files Browse the repository at this point in the history
  • Loading branch information
Daenyth committed Jul 2, 2021
1 parent 9f95a30 commit 9375399
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@ val allScalaVersions = scala2Versions :+ scala3Version
ThisBuild / scalaVersion := scala213
ThisBuild / crossScalaVersions := allScalaVersions

addCommandAlias("ci-test", "scalafmtCheckAll; scalafmtSbtCheck; mdoc; testCovered")
addCommandAlias("ci-test", "scalafmtCheckAll; scalafmtSbtCheck; mdoc; ++test")
addCommandAlias("ci-docs", "github; mdoc; headerCreateAll; publishMicrosite")
addCommandAlias("ci-publish", "github; ci-release")

coverageScalacPluginVersion := "1.4.8" // needed for scala 2.12.14

publish / skip := true

lazy val github4s = project
.settings(coreDeps: _*)
.settings(
// Increase number of inlines, needed for circe semiauto derivation
scalacOptions ++= on(3, 9)(Seq("-Xmax-inlines", "20")).value.flatten,
coverageScalacPluginVersion := "1.4.8" // needed for scala 2.12.14
scalacOptions ++= on(3, 9)(Seq("-Xmax-inlines", "20")).value.flatten
)

//////////
Expand All @@ -37,14 +34,8 @@ lazy val microsite: Project = project
.settings(micrositeSettings: _*)
.settings(publish / skip := true)
.settings(ScalaUnidoc / unidoc / unidocProjectFilter := inProjects(github4s, microsite))
.settings(
coverageScalacPluginVersion := "1.4.8" // needed for scala 2.12.14
)

lazy val documentation = project
.enablePlugins(MdocPlugin)
.settings(mdocOut := file("."))
.settings(publish / skip := true)
.settings(
coverageScalacPluginVersion := "1.4.8" // needed for scala 2.12.14
)

0 comments on commit 9375399

Please sign in to comment.