-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use Gradle's build in warning mode failure #120
base: main
Are you sure you want to change the base?
Conversation
ad96986
to
ede2472
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think you could add an easy way to override value? A bunch of our tests is using system property to ignore warnings or passing different level through command-line arguments. Having an ability to override it per test would be awesome.
ede2472
to
d9030e9
Compare
Looks like this'll break cross-version testing. Let me work on this some more. |
d9030e9
to
951560f
Compare
951560f
to
128974f
Compare
Warning mode has had a
fail
option since Gradle 5.6. This switches to the property, allows the warning mode to be configured and removes our implementation that's always liable to break with new releases.