conditional

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

    • -1
    • +0
    ./groovy/src/main/resources/sample.txt
    • -1
    • +0
    ./kotlin/src/main/resources/sample.txt
  1. … 7555 more files in changeset.
Split samples and snippets from each other

    • -1
    • +0
    ./groovy/src/main/resources/sample.txt
    • -1
    • +0
    ./kotlin/src/main/resources/sample.txt
  1. … 7555 more files in changeset.
Update conditional signing documentation

Use `maven-publish` and no longer legacy `maven`

  1. … 2 more files in changeset.
Update conditional signing documentation

Use `maven-publish` and no longer legacy `maven`

  1. … 1 more file in changeset.
Update Exemplar plugin to version 0.8.0

  1. … 349 more files in changeset.
Suppress remaining deprecation warnings

- most are because of the use of the deprecated Maven plugin

- some are because of the deprecated `force` option in dependency management

- +1: Ratpack plugin used "compile" configuration

  1. … 9 more files in changeset.
Revert "Convert groovy samples to lazy tasks API"

This reverts commit 5201a50eb5eb42ad69f327c9f8b073c115653656.

  1. … 259 more files in changeset.
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.
Kotlin samples M-Z (except userguide)

  1. … 36 more files in changeset.
Refine samples/signing/conditional for uniformity

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

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.
Let Kotlin DSL samples use configuration accessors where possible

  1. … 7 more files in changeset.
Let Kotlin DSL samples access configurations via the indexer to preserve eager behaviour

  1. … 4 more files in changeset.
Review Kotlin DSL samples for Signing Plugin chapter

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

  1. … 6 more files in changeset.
include Kotlin DSL sample for chapter signing (conditional sample)

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

    • -0
    • +35
    ./groovy/build.gradle
    • -0
    • +1
    ./groovy/settings.gradle
    • -0
    • +2
    ./groovy/src/main/java/Sample.java
    • -0
    • +1
    ./groovy/src/main/resources/sample.txt
    • -0
    • +46
    ./kotlin/build.gradle.kts
    • -0
    • +1
    ./kotlin/settings.gradle.kts
    • -0
    • +2
    ./kotlin/src/main/java/Sample.java
    • -0
    • +1
    ./kotlin/src/main/resources/sample.txt
  1. … 1 more file 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
    ./conditionalSigning.sample.conf
  1. … 782 more files in changeset.
Document how to enable signing based on a condition

Resolves #5096.

  1. … 1 more file 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.
Issue a deprecation warning when attempting to create a dynamic property directly on an object.

This has been deprecated in favour of the dynamic properties extension.

project.foo = "bar"

is now:

project.ext.foo = "bar"

  1. … 36 more files in changeset.
Merge branch 'release'

Conflicts:

subprojects/docs/src/samples/signing/conditional/build.gradle

  1. … 1 more file in changeset.
Some improvements to the signing docs, to encompass recent changes to conditional signing.

  1. … 2 more files in changeset.
Merge branch 'release'

  1. … 3 more files in changeset.
Deprecated SigningPluginConvention, replacing it with an extension.

  1. … 15 more files in changeset.
Don't need a separate 'published' configuration, as the signatures are now automatically added to 'archives'.'

  1. … 3 more files in changeset.
Added an example to the userguide for signing conditionally.

    • -0
    • +2
    ./src/main/java/Sample.java
    • -0
    • +1
    ./src/main/resources/sample.txt
  1. … 3 more files in changeset.