The version lives in one place: VERSION_NAME in gradle.properties.
It flows automatically to:
- the published Maven artifact (
version = property("VERSION_NAME")insdk/build.gradle.kts), and - the version the SDK reports to the backend at runtime —
sdkVersionfield on install/event payloads and theX-LinkForty-SDKheader — viaBuildConfig.SDK_VERSION(abuildConfigFieldsourced fromVERSION_NAME, exposed throughcom.linkforty.sdk.SdkInfo).
So there is no separate version constant to bump — update VERSION_NAME and everything stays in sync.
- Bump
VERSION_NAMEingradle.properties. - Update
CHANGELOG.md(move[Unreleased]to the new version heading). - Commit, then create and push the git tag (matching
VERSION_NAME). - Publish to Maven Central (
./gradlew publish), or let the release workflow do it.