Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 45 more files in changeset.
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 47 more files in changeset.
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 39 more files in changeset.
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 45 more files in changeset.
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 45 more files in changeset.
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 39 more files in changeset.
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 45 more files in changeset.
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 45 more files in changeset.
Reshuffle dependency management docs

This commit reshuffle existing dependency management docs

into the new dependency management chapter. It's worth noting

that there's no new content at this point, nor any effort to

make it consistent. It just moves things around, and there

are still quite a few places where dependency management docs

are found.

It doesn't try to fix dead links either.

  1. … 47 more files in changeset.
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.
Remove usage of deprecated member from selectionRule sample

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

  1. … 1 more file in changeset.
Fix customizingResolution/selectionRule Kotlin sample

using new component selection type-safe api

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

Fix customizingResolution/selectionRule Groovy sample

metadata is nullable

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

Merge branch 'master' into doc/customizing-dependency-resolution-behavior

  1. … 1 more file in changeset.
Deprecate extra parameters in ComponentSelectionRules

Since methods have been added on ComponentSelection, the logic for

detecting extra parameters in provided closures is now deprecated.

Fixes #6607

  1. … 12 more files in changeset.
include Kotlin DSL sample for chapter customizing_dependency_resolution_behavior (selectionRule sample)

Attention: one of the samples couldn't be translated. Marked with TODO

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

    • -2
    • +9
    ./componentSelectionRulesReject.sample.conf
    • -0
    • +169
    ./groovy/build.gradle
    • -0
    • +0
    ./groovy/repo/org.sample/api/1.3.0/api-1.3.0.jar
    • -0
    • +25
    ./groovy/repo/org.sample/api/1.3.0/ivy-1.3.0.xml
    • -0
    • +0
    ./groovy/repo/org.sample/api/1.4/api-1.4.jar
    • -0
    • +25
    ./groovy/repo/org.sample/api/1.4/ivy-1.4.xml
    • -0
    • +0
    ./groovy/repo/org.sample/api/1.5/api-1.5.jar
    • -0
    • +27
    ./groovy/repo/org.sample/api/1.5/ivy-1.5.xml
    • -0
    • +26
    ./groovy/repo/org.sample/lib/1.9/ivy-1.9.xml
    • -0
    • +0
    ./groovy/repo/org.sample/lib/1.9/lib-1.9.jar
    • -0
    • +26
    ./groovy/repo/org.sample/lib/2.0/ivy-2.0.xml
    • -0
    • +0
    ./groovy/repo/org.sample/lib/2.0/lib-2.0.jar
    • -0
    • +1
    ./groovy/settings.gradle
    • -0
    • +171
    ./kotlin/build.gradle.kts
  1. … 24 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
    ./componentSelectionRulesReject.sample.conf
  1. … 782 more files in changeset.
Document new ComponentMetadataRule and deprecate older forms

Adapt samples

  1. … 4 more files in changeset.
Favor using FileCollection.iterator() over FileCollection.getFiles()

In some cases it's cheaper to create the iterator than a full-blown Set.

  1. … 28 more files in changeset.
Polishing of "Customizing the dependency resolution behavior" chapter in user guide (#4407)

    • -0
    • +0
    ./repo/org.sample/api/1.3.0/api-1.3.0.jar
    • -0
    • +25
    ./repo/org.sample/api/1.3.0/ivy-1.3.0.xml
    • -0
    • +0
    ./repo/org.sample/api/1.4/api-1.4.jar
    • -0
    • +25
    ./repo/org.sample/api/1.4/ivy-1.4.xml
    • -0
    • +0
    ./repo/org.sample/api/1.5/api-1.5.jar
    • -0
    • +27
    ./repo/org.sample/api/1.5/ivy-1.5.xml
    • -0
    • +26
    ./repo/org.sample/lib/1.9/ivy-1.9.xml
    • -0
    • +0
    ./repo/org.sample/lib/1.9/lib-1.9.jar
    • -0
    • +26
    ./repo/org.sample/lib/2.0/ivy-2.0.xml
    • -0
    • +0
    ./repo/org.sample/lib/2.0/lib-2.0.jar
  1. … 94 more files in changeset.