File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ object ScoverageSbtPlugin extends AutoPlugin {
57
57
Seq (
58
58
// We only add for "compile" because of macros. This setting could be optimed to just "test" if the handling
59
59
// of macro coverage was improved.
60
- OrgScoverage %% (scalacRuntime(libraryDependencies.value)) % coverageScalacPluginVersion.value,
60
+ ( OrgScoverage %% (scalacRuntime(libraryDependencies.value)) % coverageScalacPluginVersion.value).cross( CrossVersion .full) ,
61
61
// 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)
63
63
)
64
64
else
65
65
Nil
You can’t perform that action at this time.
0 commit comments