Can metalava team also provide the Gradle interface to configuring metalava? HT to Tyler for his amazing gradle metalava plugin but its falling behind aosp metalava development.
Hey there! Aurimas here. Kotlin Binary Compatibility Validator is great at making sure that your API hasn't changed at all. It can be very valuable for cases such as refactoring where you don't actually want to make any API changes unintentionally. Metalava takes it a step further that on top of that, it also validates if evolution of the API is safe, e.g. adding a new method, changing return type, etc. On top of that, it also allows us to enforce the best API practices as it also provides API linting. Let me know if that answers your question.
It also didn't exist 6 years ago when the Kotlin effort on Android started. Otherwise perhaps effort to pursue actual validation (it's more of a dump tool since it does no actual validation) would have been done.
Subscribe to Android Developers → goo.gle/AndroidDevs
Great podcast
Thanks for the informative podcast
Can metalava team also provide the Gradle interface to configuring metalava? HT to Tyler for his amazing gradle metalava plugin but its falling behind aosp metalava development.
Why androidx team didn't use Kotlin Binary Compatibility Validator plugin?
Hey there! Aurimas here. Kotlin Binary Compatibility Validator is great at making sure that your API hasn't changed at all. It can be very valuable for cases such as refactoring where you don't actually want to make any API changes unintentionally. Metalava takes it a step further that on top of that, it also validates if evolution of the API is safe, e.g. adding a new method, changing return type, etc. On top of that, it also allows us to enforce the best API practices as it also provides API linting. Let me know if that answers your question.
@@AurimasLiutikasGoogle
Thank you for your answer.
Sounds like Metalava is a bit advanced than KBCV.
It also didn't exist 6 years ago when the Kotlin effort on Android started. Otherwise perhaps effort to pursue actual validation (it's more of a dump tool since it does no actual validation) would have been done.
❤❤❤❤❤
Where is Chet?
🎉
👋🏼🇨🇴🧔🏻👍🏼🤝🏻 Saludos desde Colombia