codeQuality

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

    • -41
    • +0
    ./groovy/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./groovy/config/codenarc/codenarc.xml
    • -13
    • +0
    ./groovy/config/xsl/checkstyle-custom.xsl
    • -41
    • +0
    ./kotlin/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./kotlin/config/codenarc/codenarc.xml
    • -13
    • +0
    ./kotlin/config/xsl/checkstyle-custom.xsl
  1. … 7724 more files in changeset.
Split samples and snippets from each other

    • -41
    • +0
    ./groovy/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./groovy/config/codenarc/codenarc.xml
    • -13
    • +0
    ./groovy/config/xsl/checkstyle-custom.xsl
    • -41
    • +0
    ./kotlin/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./kotlin/config/codenarc/codenarc.xml
    • -13
    • +0
    ./kotlin/config/xsl/checkstyle-custom.xsl
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -41
    • +0
    ./groovy/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./groovy/config/codenarc/codenarc.xml
    • -13
    • +0
    ./groovy/config/xsl/checkstyle-custom.xsl
    • -41
    • +0
    ./kotlin/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./kotlin/config/codenarc/codenarc.xml
    • -13
    • +0
    ./kotlin/config/xsl/checkstyle-custom.xsl
  1. … 7549 more files in changeset.
Split samples and snippets from each other

    • -41
    • +0
    ./groovy/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./groovy/config/codenarc/codenarc.xml
    • -13
    • +0
    ./groovy/config/xsl/checkstyle-custom.xsl
    • -41
    • +0
    ./kotlin/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./kotlin/config/codenarc/codenarc.xml
    • -13
    • +0
    ./kotlin/config/xsl/checkstyle-custom.xsl
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -41
    • +0
    ./groovy/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./groovy/config/codenarc/codenarc.xml
    • -13
    • +0
    ./groovy/config/xsl/checkstyle-custom.xsl
    • -41
    • +0
    ./kotlin/config/checkstyle/checkstyle.xml
    • -20
    • +0
    ./kotlin/config/codenarc/codenarc.xml
    • -13
    • +0
    ./kotlin/config/xsl/checkstyle-custom.xsl
  1. … 7549 more files in changeset.
Update Exemplar plugin to version 0.8.0

  1. … 349 more files in changeset.
Remove FindBugs and JDepend plugins from Gradle distribution (#10201)

    • -13
    • +0
    ./groovy/config/xsl/findbugs-custom.xsl
    • -13
    • +0
    ./kotlin/config/xsl/findbugs-custom.xsl
  1. … 61 more files in changeset.
Remove FindBugs and JDepend plugins from Gradle distribution

    • -13
    • +0
    ./groovy/config/xsl/findbugs-custom.xsl
    • -13
    • +0
    ./kotlin/config/xsl/findbugs-custom.xsl
  1. … 61 more files in changeset.
Replace all Windows CR or CRLF characters with Unix style LF

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@plexxi.com>

    • -19
    • +19
    ./groovy/config/codenarc/codenarc.xml
    • -19
    • +19
    ./kotlin/config/codenarc/codenarc.xml
  1. … 35 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.
Convert groovy samples to lazy tasks API

  1. … 264 more files in changeset.
Refine codeQuality sample

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

Simplify Kotlin DSL sample

Signed-off-by: James Justinic <13036935+jjustinic@users.noreply.github.com>

Cast html to CustomizableHtmlReport

Signed-off-by: James Justinic <13036935+jjustinic@users.noreply.github.com>

Replace deprecated dependency configurations

Signed-off-by: James Justinic <13036935+jjustinic@users.noreply.github.com>

Include Kotlin DSL samples for code quality plugin chapters

Signed-off-by: James Justinic <13036935+jjustinic@users.noreply.github.com>

    • -10
    • +0
    ./config/checkstyle/suppressions.xml
    • -0
    • +65
    ./groovy/build.gradle
    • -0
    • +41
    ./groovy/config/checkstyle/checkstyle.xml
    • -0
    • +10
    ./groovy/config/checkstyle/suppressions.xml
    • -0
    • +20
    ./groovy/config/codenarc/codenarc.xml
    • -0
    • +13
    ./groovy/config/xsl/checkstyle-custom.xsl
    • -0
    • +13
    ./groovy/config/xsl/findbugs-custom.xsl
    • -0
    • +1
    ./groovy/settings.gradle
    • -0
    • +15
    ./groovy/src/main/java/org/gradle/sample/Person.java
  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`.

    • -41
    • +41
    ./config/checkstyle/checkstyle.xml
  1. … 400 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
    ./useCheckstylePlugin.sample.conf
  1. … 782 more files in changeset.
Fix PMD 6.0.1 deprecation warnings

    • -0
    • +50
    ./config/pmd/my-ruleset.xml
  1. … 2 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

  1. … 256 more files in changeset.
Use config_loc instead of our custom checkstyleConfigDir

+review REVIEW-6526

  1. … 5 more files in changeset.
Add sample use of config_loc to user guide

+review REVIEW-6526

  1. … 2 more files in changeset.
Add suppresions.xml to Checkstyle sample

+review REVIEW-6526

    • -0
    • +10
    ./config/checkstyle/suppressions.xml
    • -0
    • +5
    ./src/main/java/org/gradle/sample/bad_name.java
Make the sample code run for Pull Request #568

+review REVIEW-5862

    • -0
    • +13
    ./config/xsl/checkstyle-custom.xsl
    • -0
    • +13
    ./config/xsl/findbugs-custom.xsl
Merge Pull Request #568 for stylesheet support in FindBugs and CheckStyle

+review REVIEW-5862

  1. … 17 more files in changeset.
Add documentation for the new stylesheet property.

  1. … 3 more files in changeset.
Use Junit 4.12 in samples

  1. … 38 more files in changeset.
deprecated `groovy` configuration

- log deprecation warning whenever a dependency is added to the configuration

- eliminated use of `groovy` configuration from all tests and samples

- adapted default build script for buildSrc

  1. … 29 more files in changeset.