Class JacocoReportAggregationPlugin

  • All Implemented Interfaces:
    Plugin<Project>

    @Incubating
    public abstract class JacocoReportAggregationPlugin
    extends java.lang.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:
    JaCoCo Report Aggregation Plugin reference
    • Field Detail

      • JACOCO_AGGREGATION_CONFIGURATION_NAME

        public static final java.lang.String JACOCO_AGGREGATION_CONFIGURATION_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • JacocoReportAggregationPlugin

        public JacocoReportAggregationPlugin()
    • Method Detail

      • 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