slight change to spotbugs config
This commit is contained in:
12
build.gradle
12
build.gradle
@ -1,3 +1,5 @@
|
|||||||
|
import com.github.spotbugs.SpotBugsTask
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'org.springframework.boot' version '2.2.5.RELEASE'
|
id 'org.springframework.boot' version '2.2.5.RELEASE'
|
||||||
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
|
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
|
||||||
@ -12,14 +14,10 @@ spotbugs{
|
|||||||
toolVersion = '4.0.0-RC1'
|
toolVersion = '4.0.0-RC1'
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(com.github.spotbugs.SpotBugsTask) {
|
tasks.withType(SpotBugsTask) {
|
||||||
reports {
|
reports {
|
||||||
html {
|
xml.enabled = false
|
||||||
enabled = true
|
html.enabled = true
|
||||||
}
|
|
||||||
xml {
|
|
||||||
enabled = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user