Suppress Gradle deprecation warnings

Viewed 3512

After migrating a Gradle-based project to Gradle version 4.0-rc-1 some deprecation warnings are displayed in the build output. Because the deprecated methods are used by Gradle plugins I have no control over fixing the warnings. The Gradle documentation and help have no information about disabling such warnings.

How can Gradle deprecation warnings be suppressed?

1 Answers

there is option --warning-mode none for suppressing deprecation warnings.

Related