Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix most errors related to sample conversion to lazy task API

  1. … 23 more files in changeset.
Merge branch 'release' into lacasseio/lazy/convert-sample-lazy

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

  1. … 158 more files in changeset.
Sweep up some lazy task equivalents for groovy

  1. … 6 more files in changeset.
Refine samples/userguide/files for uniformity

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

  1. … 1 more file in changeset.
Leverage Kotlin lambdas in samples where applicable

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

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

  1. … 264 more files in changeset.
Fix userguide/files/copy/kotlin sample

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

Fix samples integration tests

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

  1. … 3 more files in changeset.
fix issues after Paul Merlin's second review

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

  1. … 15 more files in changeset.
fix issues after Paul Merlin's first review

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

  1. … 14 more files in changeset.
include Kotlin DSL sample for chapter working_with_files (copy example)

Issue #6442

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

    • -0
    • +286
    ./groovy/build.gradle
    • -0
    • +0
    ./groovy/distResources/home.html
    • -0
    • +0
    ./groovy/distResources/images/logo.png
    • -0
    • +0
    ./groovy/distResources/images/photo.jpg
    • -0
    • +0
    ./groovy/distResources/images/plot.eps
    • -0
    • +1
    ./groovy/settings.gradle
    • -0
    • +0
    ./groovy/src/docs/manual.pdf
    • binary
    ./groovy/src/main/assets.zip
    • -0
    • +0
    ./groovy/src/main/webapp/index-staging.html
  1. … 26 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
    • +2
    ./copySingleFileExample.sample.conf
  1. … 782 more files in changeset.
Adjust documentation for {mutable -> configurable,}files{For -> }

  1. … 9 more files in changeset.
Update userguide for ProjectLayout.filesFor() and mutableFilesFor()

  1. … 9 more files in changeset.
Fix and improve minor issues in files chapter

  1. … 4 more files in changeset.
Improved nested specs example in files chapter

  1. … 8 more files in changeset.
Explain workaround for Ant default exclusions in files chapter

  1. … 2 more files in changeset.
Incorporate more feedback into files chapter

    • -0
    • +0
    ./distResources/home.html
    • -0
    • +0
    ./distResources/images/logo.png
    • -0
    • +0
    ./distResources/images/photo.jpg
    • -0
    • +0
    ./distResources/images/plot.eps
    • -0
    • +0
    ./src/main/webapp/products/collaboration.jpg
  1. … 6 more files in changeset.
Convert examples to tested samples

All the placeholder code examples in working with files are now tested samples

with the introduction of SamplesCopyIntegrationTest and

SamplesFilesMiscIntegrationTest.

    • -0
    • +0
    ./src/main/webapp/index-staging.html
    • -0
    • +0
    ./src/main/webapp/logo.png
    • -0
    • +0
    ./src/main/webapp/products/gradle-staging.html
    • -0
    • +13
    ./src/main/webapp/web.xml
  1. … 19 more files in changeset.
Intermediate commit to update source tree

  1. … 8 more files in changeset.
Finish first draft of Working with Files update

  1. … 2 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.
Fix tests

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

+review REVIEW-6236

  1. … 105 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.