Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Integrate SpotBugs #209

Merged
merged 11 commits into from
Oct 30, 2019
Merged

Integrate SpotBugs #209

merged 11 commits into from
Oct 30, 2019

Conversation

tasomaniac
Copy link
Contributor

@tasomaniac tasomaniac commented Oct 24, 2019

Little bit history

I've tried many times to have good setup with SpotBugs by trying to hook that into our existing CodeQualityConfigurator system. I especially tried that since SpotBugs also use Gradle's internal APIs (aka. CodeQualityPlugin)

It turned out that it is really hard. SpotBugs is moving away from internal APIs (good thing) anyways.

Solution

I copied the tests since our expectations are very similar 🚀

I didn't really copy the implementation from FindbugsConfigurator. Instead, I created from scratch. Worked quite well.

For now, I didn't include the custom exclude support that we have for others. Basically users will need to follow SpotBugs documentation and user their APIs to exclude classes.

Fixes #142

@tasomaniac tasomaniac requested a review from mr-archano October 24, 2019 14:42
mr-archano
mr-archano previously approved these changes Oct 29, 2019
@mr-archano mr-archano merged commit 4d286a9 into develop Oct 30, 2019
@tasomaniac tasomaniac mentioned this pull request Oct 30, 2019
@mr-archano mr-archano deleted the spotbugs branch October 30, 2019 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants