Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename Jacoco’s classDumpFile to classDumpDir

Deprecated the old property in favor of the new.

+review REVIEW-6418

  1. … 5 more files in changeset.
Handle Jacoco’s `classDumpFile` as a directory

+review REVIEW-6418

Class-level annotation is good enough

Capture violations in Ant property

Throws any failure as GradleException instead of letting Ant take charge of it.

    • -0
    • +39
    ./org/gradle/internal/jacoco/JacocoCheckResult.java
Add Javadocs for setter methods

Inline spec to avoid exposure as public API

Fix inverse logic

  1. … 2 more files in changeset.
Fix method name and description

Do not introduce new methods that take Closure parameters

We can fully rely on Groovy SAM here.

  1. … 2 more files in changeset.
Align type with the one used in Maven plugin

  1. … 1 more file in changeset.
Use @Input to ensure incremental build is working properly

Use method that is not deprecated

Use Apache StringUtils instead of impl. from Plexus

Use latest JaCoCo version for multi-version tests

  1. … 3 more files in changeset.
Upgrade JaCoCo library to a Java 9-compatible version

  1. … 5 more files in changeset.
Change targeted release version

Use task name that better expresses intent

  1. … 13 more files in changeset.
Assign group and description for tasks

  1. … 1 more file in changeset.
Report task should fail if any of the input file does not exist

  1. … 1 more file in changeset.
Task is not cacheable as it doesn't declare outputs

Move logic into parent class

Reuse logic

    • -0
    • +85
    ./org/gradle/internal/jacoco/AbstractAntJacocoReport.java
Fix indentation

Reuse task logic for JacocoReport and JacocoCheck

    • -0
    • +294
    ./org/gradle/testing/jacoco/tasks/JacocoReportBase.java
  1. … 3 more files in changeset.
Revert change

Reflect use of JacocoCheck task in documentation and sample

  1. … 1 more file in changeset.
Input annotation make sure that requires properties are not null

Extract dedicated task for verifying if coverage metrics are met

Results in better configurability for end user and decouples report generation from coverage verification.

    • -0
    • +148
    ./org/gradle/internal/jacoco/AntJacocoCheck.java
    • -80
    • +17
    ./org/gradle/internal/jacoco/AntJacocoReport.java
    • -0
    • +333
    ./org/gradle/testing/jacoco/tasks/JacocoCheck.java
  1. … 5 more files in changeset.
Document default value for property

Apply input/output annotations

  1. … 1 more file in changeset.