I asked a related question some time ago
there. The tldr; is that it's not easy to add.
If you're JVM only, japicmp has some source compatibility checks but of course doesn't know much about Kotlin.
Once the recording goes out, I strongly recommend watching
Kotlin Multiplatform Conversions at Android Jetpack Scale from
@dustin and
@James Ward. They're talking how metalava, the tool google uses to check compatibility, could maybe help there in the future