Skip to content

Only analyze the main source set with FindBugs/Checkstyle - #22

Merged
BruceEckel merged 1 commit into
BruceEckel:masterfrom
bmuschko:code-analysis-sourceset
Nov 9, 2016
Merged

BruceEckel merged 1 commit into
BruceEckel:masterfrom
bmuschko:code-analysis-sourceset

Conversation

@bmuschko

@bmuschko bmuschko commented Nov 9, 2016

Copy link
Copy Markdown
Contributor

The provided solution tells FindBugs and Checkstyle to only analyze the main source set. Other source sets like jmh and test won't even hooked up to the check task. This is a far more elegant solution than having to remove tasks from the check task after the fact. For more information please see the extension of those plugins e.g. CheckstyleExtension.sourceSets.

@BruceEckel
BruceEckel merged commit 7b43ebc into BruceEckel:master Nov 9, 2016
@BruceEckel

Copy link
Copy Markdown
Owner

Thanks so much, Ben!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants