incrementalBuild

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
WIP - more doc/sample adjustments

  1. … 25 more files in changeset.
Revert "Convert groovy samples to lazy tasks API"

This reverts commit 5201a50eb5eb42ad69f327c9f8b073c115653656.

    • -10
    • +8
    ./customTaskClass/groovy/build.gradle
  1. … 256 more files in changeset.
Fix most errors related to sample conversion to lazy task API

    • -1
    • +1
    ./customTaskClass/kotlin/build.gradle.kts
    • -1
    • +1
    ./incrementalBuildAdvanced/kotlin/build.gradle.kts
  1. … 22 more files in changeset.
Convert `userguide` samples to lazy tasks API

    • -7
    • +7
    ./customTaskClass/kotlin/build.gradle.kts
    • -8
    • +8
    ./incrementalBuildAdvanced/kotlin/build.gradle.kts
  1. … 157 more files in changeset.
Convert groovy samples to lazy tasks API

    • -8
    • +10
    ./customTaskClass/groovy/build.gradle
  1. … 261 more files in changeset.
Prefer type-safe accessors for tasks

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./customTaskClass/kotlin/build.gradle.kts
    • -17
    • +7
    ./incrementalBuildAdvanced/kotlin/build.gradle.kts
  1. … 30 more files in changeset.
Remove unnecessary files

Remove files that shouldn't be checked in

  1. … 5 more files in changeset.
Delay acquiring the resolution lock until its needed to deal with buildSrc configurations

  1. … 1 more file in changeset.
more_about_tasks fix samples integration tests

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +3
    ./customTaskClass/runtimeIncrementalApi.sample.conf
  1. … 6 more files in changeset.
more_about_tasks#sec:up_to_date_checks

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -4
    • +13
    ./customTaskClass/customTaskClassWithInputOutputAnnotations.sample.conf
    • -0
    • +96
    ./customTaskClass/groovy/build.gradle
    • -0
    • +1
    ./customTaskClass/groovy/settings.gradle
    • -0
    • +1
    ./customTaskClass/groovy/src/templates/README.md
    • -8
    • +15
    ./customTaskClass/incrementalAdHocTask.sample.conf
    • -8
    • +15
    ./customTaskClass/inferredTaskDep.sample.conf
  1. … 77 more files in changeset.
Convert user manual to be generated by Asciidoctor only

This change replaces all embedded Docbook syntax from the user manual.

Asciidoctor files are now converted directly to HTML and PDF.

It not only greatly simplifies the user manual generation pipeline, but also it makes it faster.

I did the following for all user manual pages:

- [x] Adjusted links to other manual pages, DSL docs, and Javadocs where necessary.

Fixed a couple dozen broken links at least.

- [x] Convert samples XML from docbook to asciidoctor syntax

- [x] Converted wide tables to a more flexible list-based display

Important contributor differences from now on:

- Users must use a `<file>.adoc#` prefix for all cross-reference links.

This is _required_ to achieve working links in all 3 outputs: multi-page user manual, single-page user manual, and PDF.

- The manual PDF is no longer themed, and no longer has the list of examples links in the TOC.

- File names were changed from camelCased to snake_case to have a crystal clear 1-1 mapping between source to output.

- Section reference verification is now handled by Asciidoctor verbose mode.

- The single-page user manual has the same navigation as the multi-page manual for now.

- [Common Asciidoctor extensions](https://github.com/gradle/dotorg-docs/tree/master/docs-asciidoctor-extensions) are now used by Gradle Guides and the User Manual, however, the the web assets (CSS, JS, etc) are not yet merged.

These extensions are responsible for injecting the navigation and styles.

The header/footer/navigation HTML can now be found under `subprojects/docs/src/main/resources`.

    • -18
    • +18
    ./incrementalBuildAdvanced/build.gradle
  1. … 397 more files in changeset.
Externalize samples testing infrastructure

This change replaces UserGuideSamplesRunner with an external library

called sample-check. Sample discovery, execution, and normalization

is delegated to this library, with some custom normalizers remaining

in the Gradle codebase.

Samples output has become co-located with the sample code. Samples tests

must be run with Java 8+.

    • -0
    • +5
    ./customTaskClass/customTaskClassWithInputOutputAnnotations.out
    • -0
    • +14
    ./customTaskClass/customTaskClassWithInputOutputAnnotations.sample.conf
    • -0
    • +4
    ./customTaskClass/customTaskClassWithInputOutputAnnotationsUpToDate.out
    • -0
    • +4
    ./customTaskClass/incrementalAdHocTask.out
    • -0
    • +8
    ./customTaskClass/incrementalAdHocTask.sample.conf
    • -0
    • +6
    ./customTaskClass/inferredTaskDep.out
    • -0
    • +8
    ./customTaskClass/inferredTaskDep.sample.conf
    • -0
    • +6
    ./customTaskClass/inferredTaskDep2.out
    • -0
    • +8
    ./customTaskClass/inferredTaskDep2.sample.conf
    • -0
    • +5
    ./customTaskClass/runtimeIncrementalApi.out
    • -0
    • +14
    ./customTaskClass/runtimeIncrementalApi.sample.conf
    • -0
    • +5
    ./customTaskClass/runtimeIncrementalApiConfiguration.out
    • -0
    • +8
    ./customTaskClass/runtimeIncrementalApiConfiguration.sample.conf
    • -0
    • +5
    ./customTaskClass/runtimeIncrementalApiUpToDate.out
    • -0
    • +6
    ./incrementalBuildAdvanced/incrementalBuildBadInputFilesConfig.out
  1. … 768 more files in changeset.
Adjust documentation for {mutable -> configurable,}files{For -> }

    • -2
    • +2
    ./incrementalBuildAdvanced/build.gradle
  1. … 8 more files in changeset.
Add forgotten parentheses

Update userguide for ProjectLayout.filesFor() and mutableFilesFor()

    • -2
    • +2
    ./incrementalBuildAdvanced/build.gradle
  1. … 8 more files in changeset.
Sample projects should provide root project name as best practice (#3730)

    • -0
    • +1
    ./incrementalBuildAdvanced/settings.gradle
  1. … 237 more files in changeset.
Remove usage of --no-search-upwards and deprecate

    • -0
    • +0
    ./customTaskClass/settings.gradle
    • -0
    • +0
    ./incrementalBuildAdvanced/settings.gradle
    • -0
    • +0
    ./inputsAndOutputs/settings.gradle
    • -0
    • +0
    ./noInputsAndOutputs/settings.gradle
  1. … 253 more files in changeset.
Introduce TaskDestroyables.register()

This deprecates the `file()` and `files()` methods we had previously. Also, the getter for files has been moved to the internal API.

  1. … 10 more files in changeset.
Rename destroys to destroyables and add incubating annotations

  1. … 17 more files in changeset.
Basic support for @Destroys annotation

  1. … 16 more files in changeset.
Render curly brace in code example

+review REVIEW-6197

Document order- and path sensitivity

Add user guide entries, updated some Javadoc and included path sensitivity in a user guide sample.

+review REVIEW-6170

  1. … 2 more files in changeset.
Improve user manual section on incremental build. (#688)

* Improve user manual section on incremental build.

This is a rewrite and expansion of the incremental build section of the user

manual. It provides proper coverage of this important topic while introducing

some of the new features in Gradle 3.0.

* Incorporate feedback

* Fix links and typos in user guide

    • -0
    • +85
    ./customTaskClass/build.gradle
    • -0
    • +1
    ./customTaskClass/src/templates/README.md
    • -0
    • +84
    ./incrementalBuildAdvanced/build.gradle
    • -0
    • +1
    ./incrementalBuildAdvanced/src/templates/README.md
  1. … 23 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.
Fix tests

Some leftover fixes for integration tests.

+review REVIEW-6038

  1. … 6 more files in changeset.
Issue a deprecation warning when attempting to create a dynamic property directly on an object.

This has been deprecated in favour of the dynamic properties extension.

project.foo = "bar"

is now:

project.ext.foo = "bar"

  1. … 35 more files in changeset.