Skip to content
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

Fail Scapegoat on warnings #353

Open
siddhuwarrier opened this issue May 4, 2020 · 2 comments
Open

Fail Scapegoat on warnings #353

siddhuwarrier opened this issue May 4, 2020 · 2 comments

Comments

@siddhuwarrier
Copy link

I'm using Scapegoat to check my project using gradle (and it's awesome, thank you so much). I would like warnings to cause the compilation step to fail; is there a way to cause any warnings to result in a compilation error?

Thanks!

@jozic
Copy link
Contributor

jozic commented May 4, 2020

you can always use -Xfatal-warnings
and you also have an option to override levels, see https://github.com/sksamuel/sbt-scapegoat#inspection-warning-level-overrides

@jozic
Copy link
Contributor

jozic commented May 18, 2023

@siddhuwarrier @mccartney
should we close this issue?

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

No branches or pull requests

2 participants