I wonder what is .api file for? For example: <http...
# random
s
y
Preserving binary compatibility. Basically, API files usually have the JVM signatures of the declarations you have, and so it helps to ensure that your library didn't change those signatures. Preserving those signatures allows users of the library to use a new version of it without recompiling their code, thus gaining improved performance, for instance.
👍 1
s
Thanks for the explanation! Is the "preserve binary compatibility" correct keyword for me to google more details?
y
Yes that should give more info, also ABI (application binary interface)
thank you color 1
j
https://github.com/Kotlin/binary-compatibility-validator generates the .api files and checks the current API against the existing .api dumps.
thank you color 1
a