Is there a way to ignore certain warnings in the kotlin compiler?

Viewed 826

A project that I work on has no-warnings set in the compileOptions. Is there a way to stop Deprecated usages from being flagged as a warning?

I like to use @Deprecated annotations to prevent making too many changes in one merge request, but this prevents me from doing so.

The best scenario is to have Kotlin ignore any @Deprecated annotations within only our application code. Second best thing would be to remove this as a warning entirely.

Thanks!

0 Answers
Related