Skip to content

Commit

Permalink
Generate Spotbugs report; bump Spotbugs version
Browse files Browse the repository at this point in the history
  • Loading branch information
kloverde committed Apr 10, 2024
1 parent dba7644 commit 81688df
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {

plugins {
id("java")
id("com.github.spotbugs") version "6.0.9"
id("com.github.spotbugs") version "6.0.10"
id("maven-publish")
}

Expand Down Expand Up @@ -40,6 +40,14 @@ java {
withJavadocJar()
}

tasks.spotbugsMain {
reports.create("html") {
required = true
outputLocation = file("${project.layout.buildDirectory.get()}/reports/spotbugs.html")
setStylesheet("fancy-hist.xsl")
}
}

jar {
configure includeManifest
}
Expand Down

0 comments on commit 81688df

Please sign in to comment.