https://kotlinlang.org logo
#getting-started
Title
# getting-started
a

Adam S

02/25/2023, 10:33 AM
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.
e

ephemient

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
-Xuse-14-inline-classes-mangling-scheme
or
-Xjvm-default=...
compiler flags doesn't change anything as far as KSP can see, but absolutely does change the binary compatibility
👍 1
3 Views