Skip to content

chore: share the app version between app and wear #2180

Backlog

Description

@jvsena42

Part of #2105.
Source: review, #2177

:wear takes the phone's versionName and versionCode by parsing app/build.gradle.kts with a regex at configuration time, and adds 1 000 000 000 to the code. A formatting change in app/build.gradle.kts can break the :wear build or silently pick the wrong value.

Proposal

  • Move versionName and versionCode into a shared property file (e.g. gradle.properties or version.properties) read by both modules, and update the release scripts that bump the version.

Done when

  • Both modules read the version from one source, and the release bump script updates that file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions