conditional-publishing

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Configure Javadoc and sources separately and create tasks only on demand

  1. … 34 more files in changeset.
Configure Javadoc and sources separately and create tasks only on demand

  1. … 34 more files in changeset.
Configure Javadoc and sources separately and create tasks only on demand

  1. … 35 more files in changeset.
Configure Javadoc and sources separately and create tasks only on demand

  1. … 34 more files in changeset.
Adjust samples to use the built-in javadoc/sources functionality

  1. … 10 more files in changeset.
Adjust samples to use the built-in javadoc/sources functionality

  1. … 10 more files in changeset.
Adjust samples to use the built-in javadoc/sources functionality

  1. … 10 more files in changeset.
Adjust tests and samples to new publishing default behavior

  1. … 43 more files in changeset.
Adjust tests and samples to new publishing default behavior (step 2)

  1. … 7 more files in changeset.
Adjust tests and samples to new publishing default behavior (step 2)

  1. … 7 more files in changeset.
Adjust tests and samples to new publishing default behavior (step 2)

  1. … 7 more files in changeset.
Adjust tests and samples to new publishing default behavior

  1. … 16 more files in changeset.
Adjust tests and samples to new publishing default behavior

  1. … 16 more files in changeset.
Adjust tests and samples to new publishing default behavior

  1. … 16 more files in changeset.
Fix references to deprecated classifier on Jar tasks

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

This reverts commit 5201a50eb5eb42ad69f327c9f8b073c115653656.

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

  1. … 264 more files in changeset.
Always evaluate publishing block eagerly

This commit makes `enableFeaturePreview('STABLE_PUBLISHING')`

meaningless by always using the new behavior. The flag is kept for

backward compatibility.

  1. … 55 more files in changeset.
Always evaluate publishing block eagerly

This commit makes `enableFeaturePreview('STABLE_PUBLISHING')`

meaningless by always using the new behavior. The flag is kept for

backward compatibility.

  1. … 55 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
    • +15
    ./publishingIvyConditionally.out
    • -0
    • +6
    ./publishingIvyConditionally.sample.conf
  1. … 781 more files in changeset.
Put deferred configurable change behind a feature flag

Simply removing deferred configurable can silently break builds.

Instead we now add a feature flag and nag users to opt into the

new behavior. The flag will be the new default in Gradle 5.0.

  1. … 28 more files in changeset.
Document conditional publishing for ivy-publish plugin

Issue: #5116

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