Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Align terminology with Jacoco configuration options

Makes it easier for users to map configuration options to Jacoco documentation. Aligns the configuration options with Maven plugin and Ant tasks.

    • -12
    • +12
    ./org/gradle/internal/jacoco/AntJacocoReport.java
    • -0
    • +60
    ./org/gradle/testing/jacoco/tasks/rules/JacocoLimit.java
  1. … 6 more files in changeset.
Use String data type instead of enum

Allows for better forward and backward capability in case JaCoCo decides to introduce new values or change existing ones.

  1. … 5 more files in changeset.
Bump up version number

Better IDE support for Closure parameters

Rename field

  1. … 3 more files in changeset.
Renamed fields to better express intention

    • -10
    • +10
    ./org/gradle/internal/jacoco/AntJacocoReport.java
    • -0
    • +132
    ./org/gradle/internal/jacoco/rules/JacocoViolationRuleImpl.java
  1. … 6 more files in changeset.
Set default values for fields as described in Jacoco docs

Renamed property

  1. … 2 more files in changeset.
Add some unit tests

  1. … 3 more files in changeset.
Expose configuration option for disabling rules

  1. … 1 more file in changeset.
Basic support for enforcing Jacoco metrics

    • -0
    • +69
    ./org/gradle/internal/jacoco/rules/JacocoThresholdImpl.java
    • -0
    • +29
    ./org/gradle/testing/jacoco/tasks/rules/JacocoRuleScope.java
    • -0
    • +56
    ./org/gradle/testing/jacoco/tasks/rules/JacocoThreshold.java
    • -0
    • +21
    ./org/gradle/testing/jacoco/tasks/rules/package-info.java
  1. … 7 more files in changeset.
Use better name for additional Jacoco file task output properties

This way we get `jacocoFiles.destinationFile` instead of `$1.jacoco.destinationFile`.

+review REVIEW-6374

Public runtime APIs for mapped plural task output properties

We’ve supported for some time `@OutputFiles` and `@OutputDirectories` properties with a `Map` type, where each output file or directory was mapped to a string identifier. However, this was only available via internal APIs and wasn’t documented. This commit exposes the runtime API via `TaskOutputs.files()` and the new `TaskOutputs.dirs()` methods.

+review REVIEW-6374

  1. … 15 more files in changeset.
Better tests for Jacoco, fix execution data path sensitivity

Jacoco doesn't actually care about the name of the execution data files.

+review REVIEW-6301

  1. … 4 more files in changeset.