Skip to content

Commit dcca003

Browse files
committed
Generate aggregated report only for aggregated projects (not for all).
1 parent 5575925 commit dcca003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scoverage/ScoverageSbtPlugin.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ScoverageSbtPlugin extends sbt.AutoPlugin {
3333

3434
import ScoverageKeys._
3535

36-
val aggregateFilter = ScopeFilter( inAnyProject, inConfigurations(Compile) ) // must be outside of the 'coverageAggregate' task (see: https://github.com/sbt/sbt/issues/1095 or https://github.com/sbt/sbt/issues/780)
36+
val aggregateFilter = ScopeFilter( inAggregates(ThisProject), inConfigurations(Compile) ) // must be outside of the 'coverageAggregate' task (see: https://github.com/sbt/sbt/issues/1095 or https://github.com/sbt/sbt/issues/780)
3737

3838
override def trigger = allRequirements
3939
override lazy val projectSettings = Seq(

0 commit comments

Comments
 (0)