Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Suppress Gradle deprecation warnings

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?

like image 715
EightBitBoy Avatar asked Jun 01 '17 15:06

EightBitBoy


1 Answers

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

like image 100
Oleksandr Tsurika Avatar answered Sep 28 '22 02:09

Oleksandr Tsurika