plugins

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update sample to accommodate for change in pluginManagement block

Document `pluginManagement.plugins` in the user guide

    • -0
    • +2
    ./pluginManagement/groovy/settings.gradle
    • -0
    • +2
    ./pluginManagement/kotlin/init.gradle.kts
    • -0
    • +21
    ./pluginVersions/groovy/build.gradle
    • -0
    • +1
    ./pluginVersions/groovy/gradle.properties
    • -0
    • +32
    ./pluginVersions/groovy/settings.gradle
    • -0
    • +37
    ./pluginVersions/kotlin/build.gradle.kts
    • -0
    • +1
    ./pluginVersions/kotlin/gradle.properties
    • -0
    • +47
    ./pluginVersions/kotlin/settings.gradle.kts
  1. … 12 more files in changeset.
Document `pluginManagement.plugins` in the user guide

    • -0
    • +2
    ./pluginManagement/groovy/settings.gradle
    • -0
    • +2
    ./pluginManagement/kotlin/init.gradle.kts
    • -0
    • +21
    ./pluginVersions/groovy/build.gradle
    • -0
    • +1
    ./pluginVersions/groovy/gradle.properties
    • -0
    • +32
    ./pluginVersions/groovy/settings.gradle
    • -0
    • +37
    ./pluginVersions/kotlin/build.gradle.kts
    • -0
    • +1
    ./pluginVersions/kotlin/gradle.properties
    • -0
    • +47
    ./pluginVersions/kotlin/settings.gradle.kts
  1. … 12 more files in changeset.
Document `pluginManagement.plugins` in the user guide

    • -0
    • +2
    ./pluginManagement/groovy/settings.gradle
    • -0
    • +2
    ./pluginManagement/kotlin/init.gradle.kts
    • -0
    • +21
    ./pluginVersions/groovy/build.gradle
    • -0
    • +1
    ./pluginVersions/groovy/gradle.properties
    • -0
    • +32
    ./pluginVersions/groovy/settings.gradle
    • -0
    • +37
    ./pluginVersions/kotlin/build.gradle.kts
    • -0
    • +1
    ./pluginVersions/kotlin/gradle.properties
  1. … 12 more files in changeset.
Add back TaskValidator

  1. … 1 more file in changeset.
Use Bintray version 1.8.0

Looks like 0.4.1 is using `TaskValidator`.

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
    • +0
    ./publishing/kotlin/settings.gradle.kts
  1. … 54 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
    • +0
    ./publishing/kotlin/settings.gradle.kts
  1. … 54 more files in changeset.
Include Kotlin DSL samples in the plugins doc chapter

See #6424

    • -2
    • +9
    ./buildscript/applyPluginBuildscript.sample.conf
    • -0
    • +30
    ./buildscript/groovy/build.gradle
    • -0
    • +1
    ./buildscript/groovy/settings.gradle
    • -0
    • +30
    ./buildscript/kotlin/build.gradle.kts
    • -0
    • +1
    ./buildscript/kotlin/settings.gradle.kts
    • -2
    • +9
    ./consuming/customPluginRepositories.sample.conf
    • -0
    • +6
    ./consuming/groovy/build.gradle
    • -0
    • +15
    ./consuming/groovy/settings.gradle
    • -0
    • +6
    ./consuming/kotlin/build.gradle.kts
    • -0
    • +11
    ./consuming/kotlin/settings.gradle.kts
  1. … 97 more files in changeset.
Document use of plugins {} block in buildSrc

This is part of PR #5861 that we can split and merge separately

    • -0
    • +23
    ./dslWithBuildSrc/build.gradle
    • -0
    • +35
    ./dslWithBuildSrc/buildSrc/build.gradle
    • -0
    • +26
    ./dslWithBuildSrc/buildSrc/src/main/java/my/MyPlugin.java
    • -0
    • +2
    ./dslWithBuildSrc/dslWithBuildSrc.sample.conf
    • -0
    • +1
    ./dslWithBuildSrc/settings.gradle
  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. … 393 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
    ./buildscript/applyPluginBuildscript.sample.conf
    • -0
    • +2
    ./consuming/customPluginRepositories.sample.conf
    • -0
    • +2
    ./dsl/useJavaPluginDSL.sample.conf
    • -0
    • +2
    ./multiproject/pluginsOnSubprojects.sample.conf
    • -0
    • +2
    ./pluginManagement/pluginManagementConfiguration.sample.conf
    • -0
    • +2
    ./publishing/completePluginPublishing.sample.conf
    • -0
    • +2
    ./resolutionRules/pluginResolutionStrategy.sample.conf
  1. … 776 more files in changeset.
Nag users only once about stable_publishing flag

This was an oversight, it should have used the deprecation

logger, not a normal logger to print the warning.

  1. … 27 more files in changeset.
Nag users only once about stable_publishing flag

This was an oversight, it should have used the deprecation

logger, not a normal logger to print the warning.

  1. … 28 more files in changeset.
Make pluginManagement init script more idiomatic

Collapse empty lines in blocks

Issue: #4920

Signed-off-by: Andrew Potter <apottere@gmail.com>

Move code snippets into samples instead.

Issue: #4920

Signed-off-by: Andrew Potter <apottere@gmail.com>

    • -0
    • +9
    ./pluginManagement/init.gradle
    • -0
    • +8
    ./pluginManagement/settings.gradle
  1. … 1 more file in changeset.
Sample projects should provide root project name as best practice (#3730)

  1. … 239 more files in changeset.
Remove usage of --no-search-upwards and deprecate

    • -0
    • +0
    ./buildscript/settings.gradle
  1. … 255 more files in changeset.
Use consistent quote style in the 'custom task' and 'custom plugin' user guide samples.

  1. … 6 more files in changeset.
Fix user guide sample and test

  1. … 1 more file in changeset.
Fix samples

  1. … 2 more files in changeset.
Polish pluginManagement DSL

    • -0
    • +6
    ./resolutionRules/build.gradle
  1. … 90 more files in changeset.
Add a sample for using `apply false`.

- Use that sample in the userguide section about the `plugins {}`

block.

    • -0
    • +31
    ./multiproject/build.gradle
  1. … 9 more files in changeset.
Rebuild the repository with java6.

- Ugh!

  1. … 5 more files in changeset.
Move the repos into the consuming directory.

  1. … 45 more files in changeset.
Check in the repositories.

- This is needed to make the consuming project pass tests.

  1. … 14 more files in changeset.
Remove redundant specifications.

Add a section about plugin marker artifacts.

  1. … 3 more files in changeset.
Add samples of publishing and consuming plugins

    • -0
    • +6
    ./consuming/build.gradle
    • -0
    • +12
    ./consuming/settings.gradle
    • -0
    • +45
    ./publishing/build.gradle
    • -0
    • +1
    ./publishing/settings.gradle