You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: share the app version between app and wear #2180
: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.
Activity