Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #211 from novoda/tasomaniac-patch-2
Browse files Browse the repository at this point in the history
Update PMD docs to have incremental
  • Loading branch information
mr-archano authored Nov 9, 2019
2 parents 7fd5098 + 45c122d commit a6a33d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tools/pmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Enabling and configuring PMD for a project is done through the `pmd` closure:
```gradle
pmd {
toolVersion // A string, as per https://pmd.github.io/pmd-6.0.1/pmd_release_notes.html, e.g., '6.0.1'
incrementalAnalysis = true // Available as of Gradle 5.6
exclude // A fileTree, such as project.fileTree('src/test/java') to exclude Java unit tests
ruleSetFiles // A set of files containing PMD rulesets, e.g., rootProject.files('team-props/static-analysis/pmd-rules.xml')
ruleSets = [] // Note: this is a workaround to make the <exclude-pattern>s in pmd-rules.xml actually work
Expand Down Expand Up @@ -49,4 +50,4 @@ in the configuration closure, or you can do so by adding a suppressions file:
...

</ruleset>
```
```

0 comments on commit a6a33d8

Please sign in to comment.