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

Make Findbugs Html report optional #154

Merged
merged 6 commits into from Dec 10, 2018
Merged

Conversation

tasomaniac
Copy link
Contributor

Added htmlReportEnabled to the DSL to control whether we should generate html report or not.

Initially I wanted to use reports.html.enabled but that is not available. FindbugsExtension is pretty limited and unfortunately does not have that built-in. It is in Findbugs task and to be able to use that we would require users to use something like tasks.withType(Findbugs) { reports.html.enabled = false } which is ugly.

Fixes #117

pmdExtension.toolVersion = '5.5.1'
pmdExtension.rulePriority = 5
}
return { extension ->
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also did this on other tools as a boy-scouting. Looks nicer.

mr-archano
mr-archano previously approved these changes Dec 6, 2018
@mr-archano
Copy link
Contributor

@hal90002 retest this please

@tasomaniac
Copy link
Contributor Author

Looks like one test is getting NPE.

mr-archano
mr-archano previously approved these changes Dec 7, 2018
@mr-archano mr-archano dismissed their stale review December 7, 2018 17:24

I have a pending question

Copy link
Contributor

@mr-archano mr-archano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tasomaniac isn't the base branch supposed to be develop instead?

@tasomaniac tasomaniac changed the base branch from master to develop December 7, 2018 17:30
@tasomaniac
Copy link
Contributor Author

Just updated it 😄Let's see what CI says now :)

Btw, I did couple of commits and reverts. Feel free to squash and merge.

@mr-archano mr-archano merged commit fd4dee8 into develop Dec 10, 2018
@mr-archano mr-archano deleted the taso/findbug-html-report branch December 10, 2018 09:15
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.

None yet

2 participants