Skip to content

Commit 81688df

Browse files
committed
Generate Spotbugs report; bump Spotbugs version
1 parent dba7644 commit 81688df

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66

77
plugins {
88
id("java")
9-
id("com.github.spotbugs") version "6.0.9"
9+
id("com.github.spotbugs") version "6.0.10"
1010
id("maven-publish")
1111
}
1212

@@ -40,6 +40,14 @@ java {
4040
withJavadocJar()
4141
}
4242

43+
tasks.spotbugsMain {
44+
reports.create("html") {
45+
required = true
46+
outputLocation = file("${project.layout.buildDirectory.get()}/reports/spotbugs.html")
47+
setStylesheet("fancy-hist.xsl")
48+
}
49+
}
50+
4351
jar {
4452
configure includeManifest
4553
}

0 commit comments

Comments
 (0)