Skip to content

Commit 01fe1df

Browse files
committed
Fix deprecations for spotbugsMain on build.gradle
Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
1 parent a7b2811 commit 01fe1df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ tasks.withType(Javadoc).configureEach {
240240
spotbugsMain {
241241
reports {
242242
html {
243-
enabled = true
244-
destination = file("build/reports/spotbugs/main/spotbugs.html")
243+
required.set(true)
244+
outputLocation.set(file("build/reports/spotbugs/main/spotbugs.html"))
245245
stylesheet = 'fancy-hist.xsl'
246246
}
247247
}

0 commit comments

Comments
 (0)