From 45c122d539091f19907f23cd8c2d190f65eed297 Mon Sep 17 00:00:00 2001 From: Said Tahsin Dane Date: Fri, 8 Nov 2019 12:41:48 +0100 Subject: [PATCH] Update PMD docs to have incremental --- docs/tools/pmd.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tools/pmd.md b/docs/tools/pmd.md index b3998c5..f42754a 100644 --- a/docs/tools/pmd.md +++ b/docs/tools/pmd.md @@ -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 s in pmd-rules.xml actually work @@ -49,4 +50,4 @@ in the configuration closure, or you can do so by adding a suppressions file: ... -``` \ No newline at end of file +```