How to suppress experimental feature warnings

Hello everyone!

I was wandering what is the best way to generally suppress OptIns ot Experimental annotations in kotlin. I understand how important those warnings can be and how dangerous it can be to use it in production. But as I am just building my little pet project, I don’t want my code to be swarming with all those unnecessary annotations. It would be nice if I could set it at a compiler argument level, that would mean that I accept the risks for the whole project. Aparently, I cannot use Suppress for it as well. Any advice appreciated.

Edit: in addition, what makes it worse is that these warnings are at error level, which means I cannot compile my code without marking with OptIn annotations every function in chain

submitted by /u/kvasdopill
[link] [comments]