customPlugin

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

    • -17
    • +0
    ./customPluginStandalone.sample.conf.disabled
    • -31
    • +0
    ./groovy/javaGradlePlugin/build.gradle
    • -1
    • +0
    ./groovy/javaGradlePlugin/settings.gradle
  1. … 7724 more files in changeset.
Split samples and snippets from each other

    • -17
    • +0
    ./customPluginStandalone.sample.conf.disabled
    • -31
    • +0
    ./groovy/javaGradlePlugin/build.gradle
    • -1
    • +0
    ./groovy/javaGradlePlugin/settings.gradle
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -17
    • +0
    ./customPluginStandalone.sample.conf.disabled
    • -31
    • +0
    ./groovy/javaGradlePlugin/build.gradle
    • -1
    • +0
    ./groovy/javaGradlePlugin/settings.gradle
  1. … 7549 more files in changeset.
Split samples and snippets from each other

    • -17
    • +0
    ./customPluginStandalone.sample.conf.disabled
    • -31
    • +0
    ./groovy/javaGradlePlugin/build.gradle
    • -1
    • +0
    ./groovy/javaGradlePlugin/settings.gradle
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -17
    • +0
    ./customPluginStandalone.sample.conf.disabled
    • -31
    • +0
    ./groovy/javaGradlePlugin/build.gradle
    • -1
    • +0
    ./groovy/javaGradlePlugin/settings.gradle
  1. … 7549 more files in changeset.
Update Exemplar plugin to version 0.8.0

    • -3
    • +3
    ./customPluginStandalone.sample.conf.disabled
  1. … 349 more files in changeset.
Update samples to use new Java plugin configurations

  1. … 64 more files in changeset.
Update samples to use new Java plugin configurations

  1. … 64 more files in changeset.
Update samples to use new Java plugin configurations

  1. … 64 more files in changeset.
Update samples to use new Java plugin configurations

  1. … 64 more files in changeset.
Update samples to use new Java plugin configurations

  1. … 65 more files in changeset.
Update samples to use new Java plugin configurations

  1. … 64 more files in changeset.
WIP - more doc/sample adjustments

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

This reverts commit 5201a50eb5eb42ad69f327c9f8b073c115653656.

  1. … 259 more files in changeset.
Update kotlin samples (A-L) to use lazy task API

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

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

    • -2
    • +0
    ./groovy/javaGradlePlugin/settings.gradle
  1. … 52 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.

    • -2
    • +0
    ./groovy/javaGradlePlugin/settings.gradle
  1. … 52 more files in changeset.
include Kotlin DSL sample for chapter custom_tasks (customPlugin sample)

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

    • -2
    • +10
    ./customPluginStandalone.sample.conf.disabled
    • -0
    • +27
    ./groovy/consumer/build.gradle
    • -0
    • +1
    ./groovy/consumer/settings.gradle
    • -0
    • +31
    ./groovy/javaGradlePlugin/build.gradle
    • -0
    • +3
    ./groovy/javaGradlePlugin/settings.gradle
    • -0
    • +45
    ./groovy/plugin/build.gradle
    • -0
    • +3
    ./groovy/plugin/settings.gradle
    • -0
    • +13
    ./groovy/plugin/src/main/groovy/org/gradle/GreetingTask.groovy
  1. … 29 more files in changeset.
Improve Writing Custom Plugins chapter

- Link to Plugin Portal guide

- Link to section about Plugin Marker artifacts

- Use sample that shows `gradlePlugin` DSL for same plugin id

- Use `maven-publish` instead of `maven` for publishing locally

    • -5
    • +1
    ./customPluginStandalone.sample.conf.disabled
    • -0
    • +31
    ./javaGradlePlugin/build.gradle
    • -0
    • +3
    ./javaGradlePlugin/settings.gradle
    • -6
    • +1
    ./usingCustomTask.sample.conf.disabled
  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. … 397 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
    • +13
    ./customPluginStandalone.sample.conf.disabled
    • -0
    • +15
    ./usingCustomTask.sample.conf.disabled
  1. … 779 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

    • -0
    • +0
    ./consumer/settings.gradle
  1. … 256 more files in changeset.
Use Junit 4.12 in samples

  1. … 38 more files in changeset.
Fix a sample

Add apply(String) and apply(Class) to PluginAware.

+review REVIEW-5298

  1. … 69 more files in changeset.
Full proofreading pass on user guide. * Fixed many small typos * Fixed many small grammar issues, requiring small rephrasing * Reworded many phrases to avoid problem with "literal"s being truncated at EOL * Added blank columns to some tables to avoid overwrites * Added newlines to code samples to avoid truncation * Edited all task dependency graphs to use UML "depends on" notation, with arrow from task to depended task, along with a mention of this in the introduction * Added info to "README.md" to describe how to edit graph images * Fixed template link for API references * Ensured text uses "left double quote" and "right double quote" where appropriate * Made a handful of small actual content changes to emphasize points not fully covered * Changed some "p" elements to "para" * Changed some "thread" elements to "thead"

  1. … 137 more files in changeset.
Fixing unit test for customPlugin sample