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

  1. … 7732 more files in changeset.
Split samples and snippets from each other

  1. … 7555 more files in changeset.
Split samples and snippets from each other

  1. … 7557 more files in changeset.
Split samples and snippets from each other

  1. … 7555 more files in changeset.
Split samples and snippets from each other

  1. … 7557 more files in changeset.
TestKit doc demonstrates how to write tests using Kotlin

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

  1. … 1 more file in changeset.
Actually test the testKit/junitQuickstart sample

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

Update Exemplar plugin to version 0.8.0

  1. … 349 more files in changeset.
Fix failed userguide sample tests

Some userguide tests don't have property settings files, so the removal of

searchUpwards caused them to fail. This commit fixes this issue.

  1. … 16 more files in changeset.
Updated TestKit samples and tests to define `settings.gradle`

  1. … 11 more files in changeset.
Add missing settings scripts to TestKit samples

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

    • -0
    • +1
    • -0
    • +1
  1. … 2 more files in changeset.
include Kotlin DSL sample for chapter test_kit (junitQuickstart sample)

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

    • -0
    • +19
    • -0
    • +19
  1. … 2 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. … 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
    • +2
  1. … 781 more files in changeset.
Expected value should be first argument in assertEquals

Reorganized samples

+review REVIEW-5865

    • -0
    • +77
  1. … 37 more files in changeset.