summaryrefslogtreecommitdiff
path: root/lib/java/gradle/codeQualityChecks.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'lib/java/gradle/codeQualityChecks.gradle')
-rw-r--r--lib/java/gradle/codeQualityChecks.gradle11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/java/gradle/codeQualityChecks.gradle b/lib/java/gradle/codeQualityChecks.gradle
index b06628759..a3530979b 100644
--- a/lib/java/gradle/codeQualityChecks.gradle
+++ b/lib/java/gradle/codeQualityChecks.gradle
@@ -5,21 +5,22 @@
dependencies {
spotbugs configurations.spotbugsPlugins.dependencies
- spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.8.0'
+ spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
}
apply plugin: 'com.github.spotbugs'
-spotbugs{
+// see https://spotbugs-gradle-plugin.netlify.app/com/github/spotbugs/snom/spotbugsextension
+spotbugs {
ignoreFailures = true
- toolVersion = '3.1.12'
- sourceSets = [ sourceSets.main ]
+ toolVersion = '4.5.3'
effort = 'max'
reportLevel = 'low'
excludeFilter = file('code_quality_tools/findbugs-filter.xml')
}
-tasks.withType(SpotBugsTask) {
+// see https://spotbugs-gradle-plugin.netlify.app/com/github/spotbugs/snom/spotbugstask
+spotbugsMain {
reports {
text.enabled = false
html.enabled = true