New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle support #15
Comments
Right now SpotBugs has no releases. We plan on making a 3.1.0 release with improved Java 8 support ASAP. Once released, you will be able to use SpotBugs by using the Gradle FindBugs plugin, and simply swapping FindBugs with SpotBugs by adding to your
That way you achieve the desired result.
Non the less, we are talking with the Gradle dev team to get official support from them on future Gradle releases. Once released, we will add these instructions to the website, as stated in #5 |
Thanks! |
Maybe we can send PR to this package, to add SpotBugs gradle plugin. |
Maybe, but with findbugs dead they may want to simply rework what they have. In the meantime, what I wrote for #15 (comment) should work just fine, even for older gradle versions. |
I tried the suggested change in the #15 (comment) but it still will not run correctly, here is the error I am seeing in gradle
|
@johnscancella mmm... Gradle seems to be really hardwired, I didn't recall them doing this.... It seems we will need a custom plugin until Gradle officially switches after all.... |
@jsotuyod I am happy to provide a pull request for a custom plugin |
@johnscancella When you add a custom plugin, please consider to update this document at the same time. Then we can host updated migration guide at ReadTheDocs. |
@johnscancella can't wait for it! Thanks! |
@johnscancella yeah, don't worry. I already have one as the author of https://github.com/monits/static-code-analysis-plugin. Amazing job! |
- resolves #82 - using Spotbugs to check itself would be better but needs appropriate Gradle plugin, see gradle/gradle#2538 and #15
- resolves #82 - using Spotbugs to check itself would be better but needs appropriate Gradle plugin, see gradle/gradle#2538 and #15
- resolves spotbugs#82 - using Spotbugs to check itself would be better but needs appropriate Gradle plugin, see gradle/gradle#2538 and spotbugs#15
How do I integrate spotbugs in Gradle?
The text was updated successfully, but these errors were encountered: