PmdPlugin.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert codeQuality plugins and extensions to Java

Leaving only tasks in Groovy

+review REVIEW-5933

  1. … 23 more files in changeset.
CompileStatic subprojects/code-quality

Plus some Groovy to Java conversions

+review REVIEW-5933

  1. … 11 more files in changeset.
Reduce fixed cost of applying code quality plugins

First step: use @CompileStatic in all involved Groovy classes

+review REVIEW-5933

  1. … 17 more files in changeset.
Use convention object properties rather than rely on dynamic properties

  1. … 2 more files in changeset.
PMD: Default rule is now java-basic since the default version of PMD is > 5

  1. … 2 more files in changeset.
Merge branch 'pmd-auxclasspath' of https://github.com/Monits/gradle

  1. … 3 more files in changeset.
Rename minimumPriority to rulePriority

+review REVIEW-5594

  1. … 8 more files in changeset.
Renamed the property to be inline with the Ant plugin Added test verification

  1. … 4 more files in changeset.
Configure classpath per sourceset

  1. … 1 more file in changeset.
Remove closure methods from DependencSubstitutions and Configuration

+review REVIEW-5389

  1. … 4 more files in changeset.
Renamed `Configuration.whenEmpty` -> `defaultDependencies`

  1. … 17 more files in changeset.
Remove closure methods from DependencSubstitutions and Configuration

+review REVIEW-5389

  1. … 4 more files in changeset.
PMD priority level support

  1. … 5 more files in changeset.
Make plugins use Configuration.whenEmpty() to add their default dependencies

  1. … 11 more files in changeset.
update default pmd version to 5.2.3

+review REVIEW-5443

  1. … 3 more files in changeset.
Introduce Pmd(Extension)#rulesetConfig

- new way to configure custom rule set based on TextResource abstraction

- may add support for multiple rule sets in the future, in order to match capabilities of ruleSetFiles property

  1. … 6 more files in changeset.
Add console output option for PMD.

Manual merge of https://github.com/gradle/gradle/pull/258.

  1. … 6 more files in changeset.
Updated the default tool versions for Checkstyle, CodeNarc, FindBugs, PMD and JaCoCo.

  1. … 7 more files in changeset.
Extracted jvm detection out of AvailableJavaHomes fixture and changed it to search in platform specific way and to extract more meta-data about the jvm installation

- Uses Windows registry to find Sun/Oracle JVMs on Windows

- Uses /usr/libexec/java_home on OS X to find registered JVMs.

  1. … 11 more files in changeset.
REVIEW-3562 fixed potential problem with pmd tool dependencies resolution.

  1. … 1 more file in changeset.
fixed GRADLE-2706: With Gradle 1.5 - PMD applying basic rules even when they are not included in our rule set files

- moved ruleSets default back from Pmd to PmdExtension

- task adapts default if necessary (PMD >= 5.0)

- added some integration tests

  1. … 6 more files in changeset.
REVIEW-1499: Introduce TargetJdk Enum representing possible values for pmds targetjdk.

  1. … 4 more files in changeset.
REVIEW-1294 reuse JavaVersion enum for targetJdk in PmdExtension

  1. … 1 more file in changeset.
fix checkstyle; REVIEW-1295: get rid of AbstractHtmlReportRenderer; add basic test for SimpleHtmlWriter.

  1. … 18 more files in changeset.
REVIEW-1293: move default value for targetJdk to PmdExtension.

  1. … 2 more files in changeset.
Update subprojects/code-quality/src/main/groovy/org/gradle/api/plugins/quality/PmdPlugin.groovy

Removed findbugs references from PmdPlugin.

polishing

some tweaks to pmd targetjdk configuration.

  1. … 2 more files in changeset.
Changed how pmd version is determined in the pmd task. Added integration test and rule set default values now is dependent on version

  1. … 4 more files in changeset.
Basic support for PMD 5.0+. Highly dependent on the toolVersion since the ant tasks have changed between 4.3 and 5.0

  1. … 1 more file in changeset.