Have a flag, perhaps --fail-with-deprecations
, that fails the build if deprecation warnings are detected with all of them in the output
There is nothing for this right now
Historically, we have prevented our teams from using deprecated APIs in Gradle, specially if they use Nebula. However, this behavior is usually implemented around deprecation warning messages which change often due to output enhancing in gradle.
It would be ideal if we could have a flag like the one above to fail the build on these cases.
I wonder whether --warning-mode=fail
would be confusing. Thoughts?
Hi @marcphilipp,
I think --warning-mode=fail
would make a lot of sense, at least for us.
Closing as duplicate of #6491
Most helpful comment
Hi @marcphilipp,
I think
--warning-mode=fail
would make a lot of sense, at least for us.