gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add `Reporting#reports(Action)` overload

+review REVIEW-6081

  1. … 8 more files in changeset.
Rework plural task output registration APIs

We are reverting back to using the plural annotations `@OutputFiles` and `@OutputDirectories`, but only allow them to be used on `Map` properties (otherwise show a deprecation warning). The `Map` must associate a unique String identifier to each output file or directory, respectively.

This allows the removal of the recently introduced `configure()` methods on `TaskInputs` and `TaskOutputs`, but requires the introduction of the `TaskOutputs.namedFiles(Map)` method (and a version that takes a `Callable` to produce the map).

+review REVIEW-6055

    • -57
    • +52
    ./api/reporting/internal/TaskReportContainer.java
  1. … 35 more files in changeset.
Use old API methods for task inputs and outputs

Will revert deprecation in next commit.

+review REVIEW-6038

  1. … 38 more files in changeset.
Revert "Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release"

This reverts commit 506f8ce9d6dc1a81e8ff10575c512778ca2f382a.

  1. … 199 more files in changeset.
Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release

  1. … 199 more files in changeset.
Bind task output files to properties

This change introduces a binding between task properties and output files. Output annotations automatically register property values to the corresponding property name.

The `TaskOutputs` API gained new methods with an `include` prefix that allow more flexible configuration of output properties, including specifying the property name to bind the files to. The old methods have been deprecated.

Properties that were not assigned a property name will be bound to a sequence of pseudo names like `$1`, `$2` etc.

+review REVIEW-6038

  1. … 41 more files in changeset.
Deprecate `@OutputFiles`, `@OutputDirectories` and `TaskOutputs.files()`

Using these APIs makes it impossible to reliably store and load task

outputs from a cache. Instead each output needs to be named

independently.

+review REVIEW-6010

  1. … 19 more files in changeset.
Replace `@OutputDirectories` and `@OutputFiles` in reports

Preparing to deprecate these annotations.

+review REVIEW-6010

    • -46
    • +55
    ./api/reporting/internal/TaskReportContainer.java
  1. … 1 more file in changeset.
Annotate more task properties

Part of this is fixing missing annotations. Part is applying the new

`@Console` and `@Internal` annotations where appropriate.

+review REVIEW-5932

    • -2
    • +29
    ./api/reporting/ReportContainer.java
  1. … 78 more files in changeset.
Revert "Annotate more task properties"

This reverts commit 4b32689375b46bb01ace46d5255118683c7c13ed.

    • -29
    • +2
    ./api/reporting/ReportContainer.java
  1. … 66 more files in changeset.
Annotate more task properties

Part of this is fixing missing annotations. Part is applying the new

`@Console` and `@Internal` annotations where appropriate.

+review REVIEW-5932

    • -2
    • +29
    ./api/reporting/ReportContainer.java
  1. … 66 more files in changeset.
Annotate report task inputs and outputs

Added some more annotations. Also made sure to use interfaces instead of

concrete classes when referring to `ReportContainer` properties. This

allows better task property validation, as implementation details are

not mixed in.

+review REVIEW-5932

    • -0
    • +2
    ./api/reporting/BuildDashboardReports.java
  1. … 19 more files in changeset.
Move `reporting` sources to `src/main/java`

No Groovy sources left.

    • -0
    • +37
    ./api/plugins/ReportingBasePlugin.java
    • -0
    • +32
    ./api/reporting/BuildDashboardReports.java
    • -0
    • +34
    ./api/reporting/ConfigurableReport.java
    • -0
    • +42
    ./api/reporting/CustomizableHtmlReport.java
    • -0
    • +47
    ./api/reporting/DirectoryReport.java
    • -0
    • +160
    ./api/reporting/GenerateBuildDashboard.java
    • -0
    • +119
    ./api/reporting/Report.java
    • -0
    • +60
    ./api/reporting/ReportContainer.java
    • -0
    • +84
    ./api/reporting/Reporting.java
    • -0
    • +110
    ./api/reporting/ReportingExtension.java
    • -0
    • +30
    ./api/reporting/SingleFileReport.java
    • -0
    • +105
    ./api/reporting/internal/BuildDashboardGenerator.java
    • -0
    • +41
    ./api/reporting/internal/CustomizableHtmlReportImpl.java
    • -0
    • +80
    ./api/reporting/internal/DefaultReportContainer.java
  1. … 32 more files in changeset.