File -> Settings -> Editor -> Inspections -> Security
Uncheck the following options:
- Vulnerable API usage
- Vulnerable declaration dependencies
- Vulnerable import dependencies
File -> Settings -> Editor -> Inspections -> Security
Uncheck the following options: