If I wanted to write a multiplatform version of https://github.com/Kotlin/binary-compatibility-validator/, would it be possible in KSP, or would it require a compiler plugin? Or something else?
I have no plans to re-write BCV, but I’m looking at improving the Gradle plugin and I want to better understand it.
02/25/2023, 6:50 PM
I don't think it makes sense in KSP, as that sees symbols and not the ABI
for example, changing the
compiler flags doesn't change anything as far as KSP can see, but absolutely does change the binary compatibility