Kotlinc flag to switch all the classes/methods to open by default

Mock closed classes is tricky. There’re some ways but they are slow.

Would it be possible to add a flag in the kotlin compiler to open all the classes and methods by default? In your debug/release “variants” you use the normal compiler but in the test “variant” you will add this flag that allows the mock libraries to work properly.

https://kotlinlang.org/docs/reference/compiler-plugins.html