Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
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.
Fix tests

Some leftover fixes for integration tests.

+review REVIEW-6038

  1. … 6 more files in changeset.
Release notes for filteringCharset on CopySpec

+review REVIEW-5907

  1. … 2 more files in changeset.
GRADLE-1267 add a filteringCharset property to the copy spec

The copy task (and all the other tasks based on a CopySpec) allow filtering the source files to transform them. But the charset used to read and write the files was always the platform default charset, which causes problem if, for example, the source files are encoded with UTF8 but the platform default charset is another one.

This commit allows specifying a charset to use when filtering the files using `filteringCharset = 'UTF8'` (for example).

Note that the name `filteringCharset` was chosen for this new property as specified in `design-docs/`.

  1. … 15 more files in changeset.
Allow closures passed to LineFilter to remove lines by returning null. - LineFilter no longer implicitly tracks end of file via nullity of transformedLine, but explicitly tracks state (normal, line skip, eof). - Content of copyTestResources/src/two/two.b was unused, so now contains data for line removal integration tests. - Adding an entirely new test file would have affected tests which check which files were copied.

  1. … 5 more files in changeset.
Tabs to spaces +review REVIEW-5060

  1. … 17 more files in changeset.
Full proofreading pass on user guide. * Fixed many small typos * Fixed many small grammar issues, requiring small rephrasing * Reworded many phrases to avoid problem with "literal"s being truncated at EOL * Added blank columns to some tables to avoid overwrites * Added newlines to code samples to avoid truncation * Edited all task dependency graphs to use UML "depends on" notation, with arrow from task to depended task, along with a mention of this in the introduction * Added info to "" to describe how to edit graph images * Fixed template link for API references * Ensured text uses "left double quote" and "right double quote" where appropriate * Made a handful of small actual content changes to emphasize points not fully covered * Changed some "p" elements to "para" * Changed some "thread" elements to "thead"

  1. … 137 more files in changeset.
Doc : improved Copy task VS copy() method chapter

  1. … 1 more file in changeset.
Fixed some problems with samples tests after the changes in the implicit tasks and dependency insight task.

  1. … 1 more file in changeset.
Update userguide and samples with information about using from task / from task.outputs

  1. … 1 more file in changeset.
Turn on deprecation checking for integration tests by default: disabled in a few cases - use GradleDistributionExecuter.ignoreDeprecationWarnings() in cases where warnings are still emitted in tests - Ignore idea.ConfigurationHooksTest.triggersBeforeAndWhenConfigurationHooks, since this test fails due to a bug - A few other tests still failing

  1. … 15 more files in changeset.
Renamed subprojects/gradle-(.+) to subprojects/$1

  1. … 6178 more files in changeset.