One of the things we could find helpful in library development is compatibility checks.
Sometimes, it is unclear if we did any breaking change. Which version should we increment, minor or major?
There is a plugin for Gradle that allows to capture the state of the API and verify change for compatibility against that state. The plugin is metalava-gradle.
To generate API fixtures use the following command:
./gradlew :centrifuge:metalavaGenerateSignature
To verify API compatibility, run the following command:
One of the things we could find helpful in library development is compatibility checks. Sometimes, it is unclear if we did any breaking change. Which version should we increment, minor or major?
There is a plugin for Gradle that allows to capture the state of the API and verify change for compatibility against that state. The plugin is metalava-gradle.
To generate API fixtures use the following command:
To verify API compatibility, run the following command: