buildlifecycle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Split samples and snippets

    • -19
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.groovy.out
    • -18
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.kotlin.out
    • -20
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.sample.conf
    • -11
    • +0
    ./buildProjectEvaluateEvents/groovy/build.gradle
    • -1
    • +0
    ./buildProjectEvaluateEvents/groovy/projectB.gradle
    • -5
    • +0
    ./buildProjectEvaluateEvents/groovy/settings.gradle
    • -11
    • +0
    ./buildProjectEvaluateEvents/kotlin/build.gradle.kts
    • -1
    • +0
    ./buildProjectEvaluateEvents/kotlin/projectB.gradle.kts
  1. … 7724 more files in changeset.
Split samples and snippets from each other

    • -19
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.groovy.out
    • -18
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.kotlin.out
    • -20
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.sample.conf
    • -11
    • +0
    ./buildProjectEvaluateEvents/groovy/build.gradle
    • -1
    • +0
    ./buildProjectEvaluateEvents/groovy/projectB.gradle
    • -5
    • +0
    ./buildProjectEvaluateEvents/groovy/settings.gradle
    • -11
    • +0
    ./buildProjectEvaluateEvents/kotlin/build.gradle.kts
    • -1
    • +0
    ./buildProjectEvaluateEvents/kotlin/projectB.gradle.kts
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -19
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.groovy.out
    • -18
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.kotlin.out
    • -20
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.sample.conf
    • -11
    • +0
    ./buildProjectEvaluateEvents/groovy/build.gradle
    • -1
    • +0
    ./buildProjectEvaluateEvents/groovy/projectB.gradle
    • -5
    • +0
    ./buildProjectEvaluateEvents/groovy/settings.gradle
    • -11
    • +0
    ./buildProjectEvaluateEvents/kotlin/build.gradle.kts
    • -1
    • +0
    ./buildProjectEvaluateEvents/kotlin/projectB.gradle.kts
  1. … 7549 more files in changeset.
Split samples and snippets from each other

    • -19
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.groovy.out
    • -18
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.kotlin.out
    • -20
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.sample.conf
    • -11
    • +0
    ./buildProjectEvaluateEvents/groovy/build.gradle
    • -1
    • +0
    ./buildProjectEvaluateEvents/groovy/projectB.gradle
    • -5
    • +0
    ./buildProjectEvaluateEvents/groovy/settings.gradle
    • -11
    • +0
    ./buildProjectEvaluateEvents/kotlin/build.gradle.kts
    • -1
    • +0
    ./buildProjectEvaluateEvents/kotlin/projectB.gradle.kts
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -19
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.groovy.out
    • -18
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.kotlin.out
    • -20
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.sample.conf
    • -11
    • +0
    ./buildProjectEvaluateEvents/groovy/build.gradle
    • -1
    • +0
    ./buildProjectEvaluateEvents/groovy/projectB.gradle
    • -5
    • +0
    ./buildProjectEvaluateEvents/groovy/settings.gradle
    • -11
    • +0
    ./buildProjectEvaluateEvents/kotlin/build.gradle.kts
    • -1
    • +0
    ./buildProjectEvaluateEvents/kotlin/projectB.gradle.kts
  1. … 7549 more files in changeset.
Update Exemplar plugin to version 0.8.0

    • -1
    • +1
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.sample.conf
    • -1
    • +1
    ./projectEvaluateEvents/projectEvaluateEvents.sample.conf
    • -1
    • +1
    ./taskCreationEvents/taskCreationEvents.sample.conf
    • -1
    • +1
    ./taskExecutionEvents/taskExecutionEvents.sample.conf
  1. … 345 more files in changeset.
Fix samples

    • -0
    • +16
    ./basic/buildlifecycle.groovy.out
    • -0
    • +15
    ./basic/buildlifecycle.kotlin.out
    • -1
    • +1
    ./taskExecutionEvents/taskExecutionEvents.groovy.out
Revert "Convert groovy samples to lazy tasks API"

This reverts commit 5201a50eb5eb42ad69f327c9f8b073c115653656.

    • -1
    • +1
    ./buildProjectEvaluateEvents/groovy/build.gradle
    • -1
    • +1
    ./taskCreationEvents/groovy/build.gradle
    • -3
    • +2
    ./taskExecutionEvents/groovy/build.gradle
  1. … 255 more files in changeset.
Convert `userguide` samples to lazy tasks API

    • -1
    • +1
    ./buildProjectEvaluateEvents/kotlin/build.gradle.kts
    • -1
    • +1
    ./projectEvaluateEvents/kotlin/build.gradle.kts
  1. … 154 more files in changeset.
Fix some broken samples

    • -1
    • +1
    ./taskExecutionEvents/taskExecutionEvents.groovy.out
  1. … 9 more files in changeset.
Convert groovy samples to lazy tasks API

    • -1
    • +1
    ./buildProjectEvaluateEvents/groovy/build.gradle
    • -1
    • +1
    ./taskCreationEvents/groovy/build.gradle
    • -2
    • +3
    ./taskExecutionEvents/groovy/build.gradle
  1. … 260 more files in changeset.
include Kotlin DSL sample for chapter build_lifecycle (#6598)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -0
    • +21
    ./basic/groovy/build.gradle
    • -0
    • +1
    ./basic/groovy/settings.gradle
    • -0
    • +21
    ./basic/kotlin/build.gradle.kts
    • -0
    • +1
    ./basic/kotlin/settings.gradle.kts
    • -11
    • +0
    ./buildProjectEvaluateEvents/build.gradle
    • -0
    • +19
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.groovy.out
    • -0
    • +18
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.kotlin.out
    • -19
    • +0
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.out
    • -6
    • +17
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.sample.conf
    • -0
    • +11
    ./buildProjectEvaluateEvents/groovy/build.gradle
    • -0
    • +1
    ./buildProjectEvaluateEvents/groovy/projectB.gradle
    • -0
    • +5
    ./buildProjectEvaluateEvents/groovy/settings.gradle
  1. … 41 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`.

    • -2
    • +2
    ./buildProjectEvaluateEvents/build.gradle
  1. … 400 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
    • +16
    ./basic/buildlifecycle.out
    • -0
    • +6
    ./basic/buildlifecycle.sample.conf
    • -0
    • +19
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.out
    • -0
    • +9
    ./buildProjectEvaluateEvents/buildProjectEvaluateEvents.sample.conf
    • -1
    • +3
    ./buildProjectEvaluateEvents/settings.gradle
    • -0
    • +2
    ./projectEvaluateEvents/projectEvaluateEvents.out
    • -0
    • +7
    ./projectEvaluateEvents/projectEvaluateEvents.sample.conf
    • -0
    • +1
    ./taskCreationEvents/taskCreationEvents.out
    • -0
    • +7
    ./taskCreationEvents/taskCreationEvents.sample.conf
    • -0
    • +20
    ./taskExecutionEvents/taskExecutionEvents.out
    • -0
    • +9
    ./taskExecutionEvents/taskExecutionEvents.sample.conf
  1. … 772 more files in changeset.
Sample projects should provide root project name as best practice (#3730)

  1. … 239 more files in changeset.
Remove usage of --no-search-upwards and deprecate

    • -0
    • +0
    ./taskCreationEvents/settings.gradle
    • -0
    • +0
    ./taskExecutionEvents/settings.gradle
  1. … 255 more files in changeset.
Use doLast instead of left shift operator in docs

+review REVIEW-6236

  1. … 103 more files in changeset.
Minor update.

Adding an example task that has code that runs in both phases. This helps drive home the point that the left shift operator is just a shortcut for doLast - a good reminder for newbies.

  1. … 2 more files in changeset.
Changed object decoration so that properties are not defined on assignment. This behaviour was deprecated.

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

    • -0
    • +1
    ./basic/settings.gradle
    • -0
    • +11
    ./buildProjectEvaluateEvents/build.gradle
    • -0
    • +1
    ./buildProjectEvaluateEvents/projectB.gradle
    • -0
    • +3
    ./buildProjectEvaluateEvents/settings.gradle
    • -0
    • +16
    ./projectEvaluateEvents/build.gradle
    • -0
    • +1
    ./projectEvaluateEvents/projectA.gradle
    • -0
    • +3
    ./projectEvaluateEvents/settings.gradle
    • -0
    • +7
    ./taskCreationEvents/build.gradle
    • -0
    • +18
    ./taskExecutionEvents/build.gradle
  1. … 6169 more files in changeset.