Use of deprecated package facade class



When opening some of our classes in IntelliJ IDE, the IDe is giving a warning saying:

This inspection reports usages of pre-M13 Kotlin package facade classes in Kotlin code and offers to replace them with new-style file classes.

Can you please help me to understand this, is it due to some version incompatibility?



Looks like you have Java classes calling a Kotlin library through an API which was supported in old milestone versions of Kotlin and will be removed in 1.0. To update the code, press Alt-Enter and select the option to replace with the new package facade.

For more information, please refer to under “New layout of .class files for top-level declarations”.