Skip to content

Commit 866b3ee

Browse files
Merge pull request #528 from ishitatsuyuki/patch-1
Add a reminder comment to bump version code
2 parents 9e5e3f6 + 492f945 commit 866b3ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

androidbrowserhelper/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
apply plugin: 'com.android.library'
1818
apply plugin: 'maven-publish'
1919

20+
// Before 2.6.1, the version code was unused and was kept at 1.
21+
// This is now being used to report metrics, and should be bumped with
22+
// every version bump.
2023
def VERSION = "2.6.1";
24+
def VERSION_CODE = 1;
2125

2226
android {
2327
namespace "com.google.androidbrowserhelper"
@@ -26,7 +30,7 @@ android {
2630
minSdkVersion 21
2731
compileSdk 36
2832
targetSdkVersion 31
29-
versionCode 1
33+
versionCode VERSION_CODE
3034
versionName VERSION
3135

3236
buildConfigField "int", "LIBRARY_VERSION", "${versionCode}"

0 commit comments

Comments
 (0)