Having to update both mobile and wear version numbers & codes soon becomes a pain when you’re releasing frequently and it’s easy to forget. I dug into Gradle a little and found you can have project level variables so I placed the version numbers in the project level and both the wear and mobile build files reference this.

gradle.properties (project level)

build.gradle (module level)

android {
    defaultConfig {
        versionName project.VERSION_NAME
        versionCode Integer.parseInt(project.VERSION_CODE)