diff --git a/build.gradle b/build.gradle index 47d8696..f2d00cf 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { id "de.aaschmid.cpd" version "3.1" id "org.owasp.dependencycheck" version "5.3.0" id "org.ajoberstar.grgit" version "4.0.1" - id "com.github.spotbugs" version "4.0.2" + id "com.github.spotbugs" version "4.4.4" id "com.jfrog.bintray" version "1.8.4" id 'info.solidsoft.pitest' version '1.4.7' } diff --git a/code-quality.gradle b/code-quality.gradle index 7c21479..ec79040 100644 --- a/code-quality.gradle +++ b/code-quality.gradle @@ -45,6 +45,15 @@ pmdTest.enabled = false spotbugsIntegrationTest.enabled = false spotbugsTest.enabled = false +spotbugsMain { + reports { + html { + enabled = true + destination = file("$buildDir/reports/spotbugs/main/spotbugs.html") + } + } +} + pmd { ruleSets = [] //specifically set this to be empty, otherwise gradle includes the defaults in addition to our custom ruleset! ruleSetConfig = resources.text.fromFile("config/pmd/ruleset.xml")