Class JacocoReportAggregationPlugin

java.lang.Object
org.gradle.testing.jacoco.plugins.JacocoReportAggregationPlugin
All Implemented Interfaces:
Plugin<Project>

@Incubating public abstract class JacocoReportAggregationPlugin extends Object implements Plugin<Project>
Adds configurations to for resolving variants containing JaCoCo code coverage results, which may span multiple subprojects. Reacts to the presence of the jvm-test-suite plugin and creates tasks to collect code coverage results for each named test-suite.
Since:
7.4
See Also:
  • Field Details

    • JACOCO_AGGREGATION_CONFIGURATION_NAME

      public static final String JACOCO_AGGREGATION_CONFIGURATION_NAME
      See Also:
  • Constructor Details

    • JacocoReportAggregationPlugin

      public JacocoReportAggregationPlugin()
  • Method Details

    • getEcosystemUtilities

      @Inject protected abstract org.gradle.api.plugins.jvm.internal.JvmPluginServices getEcosystemUtilities()
    • apply

      public void apply(Project project)
      Description copied from interface: Plugin
      Apply this plugin to the given target object.
      Specified by:
      apply in interface Plugin<Project>
      Parameters:
      project - The target object