How to suppress gradle deprecation warnings

I would like to update to gradle 4.2, but I start getting a deprecation warning on every clean build. The warning is because of a newly deprecated API in one of the plugins I’m using. Is there a way to suppress this warning in my build file?

A newer version of the plugin isn’t yet available. Since the warning doesn’t specify that it’s coming from one of the plugins, it makes it seem like it’s a failure in our code. I know people will start filing tickets about the warning, and since it’s not a problem until we choose to upgrade to 5.0 I’d like to just hide it.

1 Like