Skip to content

Releases: spotbugs/spotbugs-gradle-plugin

5.0.8

13 Jun 03:34
18f0228
Compare
Choose a tag to compare

5.0.8 (2022-06-13)

Bug Fixes

5.0.7

13 May 00:30
Compare
Choose a tag to compare

5.0.7 (2022-05-13)

Bug Fixes

  • bump up SpotBugs to v4.7.0 (61023da)

5.0.6

17 Feb 01:42
Compare
Choose a tag to compare

5.0.6 (2022-02-17)

Bug Fixes

  • Added a space between the report paths so that multiple paths no longer concatenate together and break ide links (c5b6c58)

5.0.5

21 Jan 06:03
ba591fb
Compare
Choose a tag to compare

5.0.5 (2022-01-21)

Bug Fixes

5.0.4

06 Jan 02:34
Compare
Choose a tag to compare

5.0.4 (2022-01-06)

Bug Fixes

5.0.3

15 Dec 00:26
60f3ac8
Compare
Choose a tag to compare

5.0.3 (2021-12-15)

Bug Fixes

5.0.2

09 Dec 00:30
Compare
Choose a tag to compare

5.0.2 (2021-12-09)

Bug Fixes

  • bump up the default SpotBugs version to v4.5.1 (6cc8799)

5.0.1

08 Dec 01:35
Compare
Choose a tag to compare

5.0.1 (2021-12-08)

Bug Fixes

  • required property cannot disable the report (a3237e1)

5.0.0

06 Dec 12:41
Compare
Choose a tag to compare

5.0.0 (2021-12-06)

Many thanks for the PR authors in this major release! @rpalcolea @blzsaa @jscancella @KengoTODA

Bug Fixes

  • bump default spotbugs version from 4.4.2 to 4.5.0 (932b215)
  • deprecate methods which will be removed in Gradle v8 (c210b8f, 3a28675), closes #598, #597
  • drop support for Gradle v5 and v6 (97f330f), closes #557
  • set useAuxclasspathFile option by default (3c3779d)
  • stop printing stacktraces by default when ignoreFailures = true (e739a30), closes #266
  • use hybrid worker by default (8c2667a), closes #429 #416
  • Replace deprecated Gradle API
    • stop depending on deprecated JavaPluginConvention (4ab0c8c)
    • stop depending on project.afterEvaluate (809705e), closes #567
    • replace deprecated GUtil API (81ca2f7)
    • replace deprecated setDestination() API (a94168b)
    • replace deprecated JavaExecSpec#setMain(String) (fa63551)
    • deprecated Gradle api usage (#583) (04d6a5e), closes #577

Features

  • print report to console when reporting is not specified (b78a1b3), closes #363 #172
  • support creating multiple reports (751ca27)
  • support Gradle Java Toolchains for JavaExec and WorkerAPI (2978bed), closes #526

BREAKING CHANGES

  • The useAuxclasspathFile option is enabled by default.
  • Each SpotBugsTask will launch a java process by default. It may affect build performance but is necessary to fix the resource leak
  • stacktraces is not printed by default when ignoreFailures = true. set showStackTraces = true explicitly if necessary.
  • Gradle v5 and v6 are now not supported.
  • Behavior without report config has been changed from XML to console.

Migration Guide

To upgrade your spotbugs-gradle-plugin from v4 to v5, follow these steps:

4.8.0

24 Nov 13:06
Compare
Choose a tag to compare

4.8.0 (2021-11-24)

Features