Skip to content

Commit fb8480e

Browse files
author
Devon Stewart
committed
Depend on the exact bincompat (patch) version of scalac
1 parent 78eac8d commit fb8480e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/scoverage/ScoverageSbtPlugin.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ object ScoverageSbtPlugin extends AutoPlugin {
5757
Seq(
5858
// We only add for "compile" because of macros. This setting could be optimed to just "test" if the handling
5959
// of macro coverage was improved.
60-
OrgScoverage %% (scalacRuntime(libraryDependencies.value)) % coverageScalacPluginVersion.value,
60+
(OrgScoverage %% (scalacRuntime(libraryDependencies.value)) % coverageScalacPluginVersion.value).cross(CrossVersion.full),
6161
// We don't want to instrument the test code itself, nor add to a pom when published with coverage enabled.
62-
OrgScoverage %% ScalacPluginArtifact % coverageScalacPluginVersion.value % ScoveragePluginConfig.name
62+
(OrgScoverage %% ScalacPluginArtifact % coverageScalacPluginVersion.value % ScoveragePluginConfig.name).cross(CrossVersion.full)
6363
)
6464
else
6565
Nil

0 commit comments

Comments
 (0)