PmdInvoker.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make PMD task resilient to exception from native platform

  1. … 1 more file 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.
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.
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.
Fix compatibility with Pmd<5

+review REVIEW-6081

Migrate `Pmd` task to Java

The task still uses an internal class written in Groovy to invoke an isolated Ant builder.

+review REVIEW-6081

    • -0
    • +110
    ./PmdInvoker.groovy
  1. … 3 more files in changeset.