-
Notifications
You must be signed in to change notification settings - Fork 28
Support SpotBugs #142
Comments
Here are more links for future reference:
|
Did some integration on the branch: https://github.com/novoda/gradle-static-analysis-plugin/tree/taso/spotbugs At the time I did this, I used version
The error is kinda cryptic but it looks like it means source is not set correctly. |
Also I have problems with tests. Tests cannot find SpotBugsTask and just fails early. It works fine on the sample. |
This work that I mentioned above is just garbage since the release of the SpotBugs plugin version 2.0.0. Initially after talking to @mr-archano last year, I tried to make use of the same structure that we have for Findbugs. The reason was that the SpotBugs plugin also uses internal APIs of Gradle anyways. That takes a lot of assumptions and it seems like the plugin being in development evolves outside of Gradle. There is even a ticket to remove that Internal API usages. spotbugs/spotbugs-gradle-plugin#104 Long story short, I started to do an integration from scratch without copying the Findbugs and other code quality tool integrations. |
Done in #209 |
With the advent of Gradle 5.0, they are planning to deprecate FindBugs as it's basically abandonware and suggest using SpotBugs instead:
Source: Gradle 5.0 RC1 release notes
SAP should act accordingly.
The text was updated successfully, but these errors were encountered: