diff --git a/build.sbt b/build.sbt index 364337b3..86c76280 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ name := "sbt-scoverage" import sbt.ScriptedPlugin.autoImport.scriptedLaunchOpts -def scoverageVersion = "1.4.5" +def scoverageVersion = "1.4.6" inThisBuild( List( diff --git a/src/main/scala/scoverage/ScoverageSbtPlugin.scala b/src/main/scala/scoverage/ScoverageSbtPlugin.scala index 07abe634..183b6868 100644 --- a/src/main/scala/scoverage/ScoverageSbtPlugin.scala +++ b/src/main/scala/scoverage/ScoverageSbtPlugin.scala @@ -69,9 +69,9 @@ object ScoverageSbtPlugin extends AutoPlugin { Seq( // We only add for "compile" because of macros. This setting could be optimed to just "test" if the handling // of macro coverage was improved. - (orgScoverage %% (scalacRuntime( + orgScoverage %% (scalacRuntime( libraryDependencies.value - )) % coverageScalacPluginVersion.value).cross(CrossVersion.full), + )) % coverageScalacPluginVersion.value, // We don't want to instrument the test code itself, nor add to a pom when published with coverage enabled. (orgScoverage %% scalacPluginArtifact % coverageScalacPluginVersion.value % ScoveragePluginConfig.name) .cross(CrossVersion.full)