Skip to content

Commit ef710e5

Browse files
authored
Merge pull request #417 from okue/spotbugs-report
NON-ISSUE SpotBugs Report in Html
2 parents da1df8e + 827f2e4 commit ef710e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* under the License.
1515
*/
1616

17+
import com.github.spotbugs.SpotBugsTask
1718
import org.springframework.boot.gradle.plugin.SpringBootPlugin
1819

1920
// ./gradlew clean && ./gradlew uploadArchives -Prelease
@@ -206,7 +207,9 @@ subprojects {
206207
toolVersion = '8.23'
207208
}
208209

209-
spotbugs {
210+
tasks.withType(SpotBugsTask) {
211+
reports.xml.enabled = false
212+
reports.html.enabled = true
210213
excludeFilter = file("$rootProject.projectDir/config/findbugs/excludeFilter.xml")
211214
}
212215

0 commit comments

Comments
 (0)