diff --git a/build.gradle b/build.gradle index 37c1343..d4b9d8a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,5 @@ +import com.github.spotbugs.SpotBugsTask + plugins { id 'org.springframework.boot' version '2.2.5.RELEASE' id 'io.spring.dependency-management' version '1.0.9.RELEASE' @@ -12,14 +14,10 @@ spotbugs{ toolVersion = '4.0.0-RC1' } -tasks.withType(com.github.spotbugs.SpotBugsTask) { +tasks.withType(SpotBugsTask) { reports { - html { - enabled = true - } - xml { - enabled = false - } + xml.enabled = false + html.enabled = true } }