extraProperties

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Convert groovy samples to lazy tasks API"

This reverts commit 5201a50eb5eb42ad69f327c9f8b073c115653656.

  1. … 259 more files in changeset.
Convert `userguide` samples to lazy tasks API

  1. … 158 more files in changeset.
Convert groovy samples to lazy tasks API

  1. … 264 more files in changeset.
Prefer type-safe accessors for source sets

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

  1. … 13 more files in changeset.
Fix userguide/tutorial/extraProperties/kotlin sample

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

Fix userguide/tutorial/extraProperties/kotlin sample

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

Fix userguide/tutorial/extraProperties/kotlin sample

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

Simplify userguide/tutorial/extraProperties kotlin-dsl sample

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

Kotlin DSL samples for Writing Build Scripts user manual chapter

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

  1. … 30 more files in changeset.
docs/build_scripts_basics refine Groovy samples

- prefer the plugins {} block

- prefer task block configuration

- prefer string templates over string concatenation

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

  1. … 4 more files in changeset.
docs/build_scripts_basics add Kotlin DSL samples

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

    • -0
    • +50
    ./kotlin/build.gradle.kts
    • -0
    • +1
    ./kotlin/settings.gradle.kts
  1. … 45 more files in changeset.
docs/build_scripts_basics move samples to groovy/ subdir

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

    • -0
    • +42
    ./groovy/build.gradle
    • -0
    • +1
    ./groovy/settings.gradle
  1. … 85 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`.

  1. … 401 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
    • +7
    ./extraProperties.sample.conf
    • -0
    • +1
    ./extraTaskProperties.out
    • -0
    • +7
    ./extraTaskProperties.sample.conf
  1. … 779 more files in changeset.
Sample projects should provide root project name as best practice (#3730)

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

  1. … 256 more files in changeset.
Use doLast instead of left shift operator in docs

+review REVIEW-6236

  1. … 105 more files in changeset.
fixed user guide sample

don't use "ext." when referring to existing extra properties because it can easily fail

  1. … 1 more file in changeset.
improved documentation of extra properties (in particular documented use of ext {} block)

  1. … 4 more files in changeset.
improved docs for extra properties

  1. … 1 more file in changeset.
improved docs for extra properties

  1. … 1 more file in changeset.
more docs for extra properties (and local variables)

  1. … 6 more files in changeset.
more docs for extra properties (and local variables)

  1. … 6 more files in changeset.
user guide documentation for extra properties

  1. … 5 more files in changeset.
user guide documentation for extra properties

  1. … 5 more files in changeset.