Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Fixes."

This reverts commit 480434d3d2c4d53177abcc5dfe48172e6162a538.

Fixes.

Change a bunch of plugins to use the extensions added by the Java base plugins rather than the convention objects.

  1. … 17 more files in changeset.
Use register() over createLater() in all built-in plugins

  1. … 9 more files in changeset.
Rename TaskContainer.get(Class, String) to TaskCollection.named(String)

  1. … 11 more files in changeset.
Introduce configureEach to replace configureEachLater

  1. … 17 more files in changeset.
Rename getByNameLater() to get()

  1. … 8 more files in changeset.
Lazily create and configure code quality tasks

  1. … 5 more files in changeset.
Use umodifiable list in DefaultClassPath

This makes accidental mutation impossible and reduces some

of the repeated wrapping.

  1. … 37 more files in changeset.
Favor using FileCollection.iterator() over FileCollection.getFiles()

In some cases it's cheaper to create the iterator than a full-blown Set.

  1. … 28 more files in changeset.
Fix PMD 6.0.1 deprecation warnings

  1. … 3 more files in changeset.
Support PMD incremental analysis

  1. … 9 more files in changeset.
Always report Checkstyle violations-summary from xml report (#3901)

Report Checkstyle violations from xml report, regardless of build pass/fail.

Prior to this, Checkstyle plugin would be silent unless the build failed or

ignoreFailures=true. If thresholds maxErrors and maxWarnings were not met,

reported rule violations in the XML or HTML reports were not mentioned in

build output.

With this change, if Checkstyle is configured to produce an XML report (default),

the report is parsed and violations summarised in the Checkstyle task build output.

This occurs regardless of whether the build failed or not.

Fixed #881

  1. … 1 more file in changeset.
Add `@Nullable` annotations to code-quality (#4518)

    • -15
    • +16
    ./findbugs/FindBugsSpecBuilder.java
    • -0
    • +20
    ./findbugs/package-info.java
  1. … 13 more files in changeset.
Findbugs should use mapped nested inputs

  1. … 6 more files in changeset.
Add `@Nullable` to `@Optional` task inputs

where applicable.

  1. … 46 more files in changeset.
Revert "Support PMD's analysis cache (#2223)" and "Improve test coverage for pmd incremental analysis (#2961)" (#3125)

Since there're some issues unreleased in pmd plugin:

https://github.com/pmd/pmd/issues/618

https://github.com/pmd/pmd/issues/608

This reverts commit:

79e74d939dd3c9726624d0fef87c4c6a8e136297

4c51b741042fbccd6b0a03e0a60491197bf49751

d98129f4a34b0fac026a86c0cc1aff19dc541fae

c543f98e1f9228e6460b2f7a08dec01314fa2255

60fa200ec9276c1c95920f554ccfbe4474843c38

bf275854b58f6dfe64e9be72aed4c0b78c1878ab

f7a4bf852eec0e02393fc51e3cf2b0a12b9cb3e1

  1. … 9 more files in changeset.
Move PMD incremental cache into task's temporary directory

  1. … 1 more file in changeset.
Reuse AbstractPmdPluginVersionIntegrationTest for multi-version tests

  1. … 3 more files in changeset.
Add more tests for pmd incremental analysis

  1. … 2 more files in changeset.
Support PMD's analysis cache (#2223)

Support PMD's incremental analysis

  1. … 7 more files in changeset.
Support for FindBugs JVM arguments (#781)

Support for FindBugs JVM arguments

    • -4
    • +11
    ./findbugs/FindBugsSpecBuilder.java
  1. … 7 more files in changeset.
Add an option to FindBugs to disable analysis progress (#2181)

This fixes https://github.com/gradle/gradle/issues/1646,

https://github.com/gradle/gradle/issues/1307,

https://github.com/gradle/gradle/issues/1756

It has been reported that FindBugs plugin will always print analysis

progress to standard output no matter what the configuration is. It is

because '-progress' command line option is always activated when

staring FindBugs in FindBugsSpecBuilder. This commit add an option to

FindBugs plugin named 'showProgress' to control it. If set to false,

'-progress' will not be passed to FindBugs.

  1. … 7 more files in changeset.
Add compilationClasspath property to CodeNarc task (#2325)

Allows to configure classpath used by CodeNarc enhanced rules when compiling analyzed classes.

  1. … 3 more files in changeset.
Use public `ObjectFactory` instead of internal `Instantiator` in several task types.

  1. … 9 more files in changeset.
Improve code style

Add support for 'console' output type of CodeNarc plugin.

This fix https://github.com/gradle/gradle/issues/1481 . Although it is

documented that CodeNarc plugin supports 'console' output type, that

type is never implemented. This commit add 'console'

TaskGeneratedSingleFile to CodeNarcReportsImpl, and adjust the options

with which Ant codenarc task is called. To redirect Ant output to Gradle

standard output in 'console' type, the lifecycleLogLevel of AntLogAdapter

is changed to INFO.

Then, a unit test and an integration test are provided.

  1. … 3 more files in changeset.
Extract config_loc as a static property

+review REVIEW-6526

Address review items for Checkstyle configDir

+review REVIEW-6526

  1. … 1 more file in changeset.
Rename checkstyleConfigDir to configDir to be consistent with the other properties

+review REVIEW-6526

  1. … 6 more files in changeset.