PmdInvoker.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve error message when PMD incremental analysis is enabled on older version of PMD

  1. … 2 more files in changeset.
Use worker API to execute PMD analysis

  1. … 2 more files in changeset.
Remove use of PmdReports in action

  1. … 2 more files in changeset.
Remove use of Task ant instance

  1. … 1 more file in changeset.
Migrate PmdInvoker into Worker action like form

  1. … 2 more files in changeset.
Remove use of Gradle logger

Inline variables only used once

Extract PmdParameters to separate class

  1. … 2 more files in changeset.
Add maxFailures property to PMD (resolves #11557)

Signed-off-by: Matthew Duggan <mgithub@guarana.org>

  1. … 7 more files in changeset.
Make PMD task resilient to exception from native platform

  1. … 1 more file in changeset.
Make PMD task resilient to exception from native platform

  1. … 1 more file in changeset.
Make PMD task resilient to exception from native platform

  1. … 1 more file in changeset.
Introduce a specific exception type for verification failures

This introduces VerificationCheckFailedException to the Gradle API.

It's purpose is to indicate that a check task was successfully

executed but resulted in failure due to violations.

This allows other tools and Gradle logging to distinguish between

a verification tool failing to execute and one that failed for

"normal and expected" reasons.

The code quality and testing plugins are updated to use this new

exception type when appropriate.

  1. … 6 more files in changeset.
Make Cast.cast() be non-nullable

  1. … 5 more files in changeset.
Make Cast.cast() be non-nullable

  1. … 5 more files in changeset.
Fix failure with older versions of PMD that try to enable incremental analysis

More reliably extract PMD version

  1. … 1 more file in changeset.
More reliably extract PMD version

Workaround issues with PMD inspecting Gradle's classpath

  1. … 3 more files in changeset.
Workaround issues with PMD inspecting Gradle's classpath

  1. … 3 more files in changeset.
Rework after reintroducing reverted changes

  1. … 6 more files in changeset.
Explicitly configure pmd to not use incremental analysis feature

This stops it from writing a lot of instances of the warning

"This analysis could be faster, please consider using Incremental Analysis:

https://pmd.github.io/pmd-6.8.0/pmd_userdocs_incremental_analysis.html"

when running pmd analysis. There is no functional difference in how PMD

operates from this change.

Closes https://github.com/gradle/gradle/issues/8277

Signed-off-by: Noa Resare <resare@apple.com>

Upgrade default tool version of PMD to 6.7.0

The default ruleset has been changed from the now deprecated

`java-basic` to `category/java/errorprone.xml`.

Resolves #6625.

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