From fe5bccf59e0ef905c595156b27701210af912324 Mon Sep 17 00:00:00 2001 From: Valentin Rocher Date: Mon, 12 Oct 2020 10:49:08 +0200 Subject: [PATCH] fix: added missing documentation --- README.md | 1 + src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 04770ed7..c9d043ec 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ spotbugs { reportsDir = file("$buildDir/spotbugs") includeFilter = file("include.xml") excludeFilter = file("exclude.xml") + baselineFile = file("baseline.xml") onlyAnalyze = [ 'com.foobar.MyClass', 'com.foobar.mypkg.*' ] maxHeapSize = '1g' extraArgs = [ '-nested:false' ] diff --git a/src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy b/src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy index e4f183a6..d0574e23 100644 --- a/src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy +++ b/src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy @@ -75,6 +75,7 @@ import javax.inject.Inject *     reportsDir = file("$buildDir/reports/spotbugs")
*     includeFilter = file('spotbugs-include.xml')
*     excludeFilter = file('spotbugs-exclude.xml')
+ *     baselineFile = file('spotbugs-baseline.xml')
*     onlyAnalyze = ['com.foobar.MyClass', 'com.foobar.mypkg.*']
*     projectName = name
*     release = version