Deprecated Gradle API and/or features were used in this build, making it incompatible with Gradle 5.0

I get these warnings with 4.5.1. There is a link in the output to https://docs.gradle.org/4.5.1/userguide/command_line_interface.html#sec:command_line_warnings. But if I go there it provides only info on how to turn these warnings on and off.

But suppose I want to actually find the deprecated calls I’m using so that I might change them? Where are they listed?

There’s actually three options there: --warning-mode=(all,none,summary). The default, summary, isn’t really “on” (all) or “off” (none), but just the text you mentioned. Minimally, you’re going to want to specify all to know what you need to hunt down.

1 Like