This is the changelog for SpotBugs Gradle Plugin. This follows Keep a Changelog v1.0.0.
Currently the versioning policy of this project follows Semantic Versioning from version 1.6.0.
- Gradle 5.0 support
- Treat
projectName
andrelease
as task input (#131)
- Add
-projectName
option (#111) - Add
-release
option (#111) - Add
setStylesheet(String)
that accepts relative path from the root ofspotbugs.jar
(#107)
- Use SpotBugs 3.1.12 by default
- Upgrade SLF4J to 1.8.0-beta4
- "Trying to add already registered factory" problem reported as a spotbugs issue
- Result caching works across checkouts. Previously it was using absolute paths and therefore didn't work. (#96)
- Support text type bug report (#31)
- Usage of worker API introduced at #57
- Drop support for Gradle 4, that causes SLF4J related problem
- Use SpotBugs 3.1.11 by default
classes
filtering that was broken at 1.6.2 (#54)
- Use SpotBugs 3.1.10 by default
- Keep track of top-level source set folders #59
- Analyze runtime classpath instead of compile classpath. #62
- Prevent NPE in unexpected situations where no reports are enabled, despite xml being set by default using convention mapping (See #61, #68)
- Replace usage of internal Gradle APIs with supported Worker API. #58
- Use SpotBugs 3.1.7 by default
- Replace usage of internal class ClosureBackedAction #51
- Use SpotBugs 3.1.6
- Added support for passing JVM arguments to the JavaExecHandleBuilder when creating a SpotBugsTask.
- Support Gradle 4.10 that cause problem with problematic method reference. (#40)
- Use SpotBugs 3.1.3
- Add
showProgress
option to task mapping. - Added a minor fix to handle multiple output source directories. With the release of gradle 4.0 the default location of classes changed from "build/classes/main" -> "build/{java, groovy, scala}/main". This caused a bug where the plugin would ignore any classes compiled which were not located within "build/classes/" or for clean groovy/scala projects the plugin would outright fail to perform an analysis due to NO-SOURCE.(#12)
- Support Gradle 4.8 #22
- Use SpotBugs 3.1.2
- Fixed "loud output" #506 by adding an option to show progress and disabling it by default, matching the behaviour of the FindBugs Gradle Plugin
- Use SpotBugs 3.1.0
- Use SpotBugs 3.1.0-RC7
- Make build failed when user uses unsupported Gradle version (#357)
- Make error message human readable (#428)
- Fix missing dependency on compile task (#440)
- Use SpotBugs 3.1.0-RC6
- Fix "Cannot convert the provided notation to a File or URI: classesDirs" error (#320)
- Support working with Android Gradle Plugin 2.3 (#256)
- Use SpotBugs 3.1.0-RC5
- Stop using single class directory to prepare for Gradle v5 (#299)
- Print 'SpotBugs' instead of 'FindBugs' (#291)
- Use SpotBugs 3.1.0-RC4
- Fixed #214
- Use SpotBugs 3.1.0-RC2
- First release which uses FindBugs 3.0.1