Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Commit d568fbf

Browse files
Increment the wear version code to allow multi apk release
1 parent 8a45ab4 commit d568fbf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
1919

20-
VERSION_NAME=1.3
20+
# Always increase version code by 2 since we now package wear seperately and release multi apk
2121
VERSION_CODE=8
22+
VERSION_NAME=1.3

wear/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ android {
1515
minSdkVersion 23
1616
targetSdkVersion 24
1717
versionName project.VERSION_NAME
18-
versionCode Integer.parseInt(project.VERSION_CODE)
18+
versionCode Integer.parseInt(project.VERSION_CODE) + 1
1919
}
2020

2121
signingConfigs { release }

0 commit comments

Comments
 (0)