We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e5e3f6 + 492f945 commit 866b3eeCopy full SHA for 866b3ee
androidbrowserhelper/build.gradle
@@ -17,7 +17,11 @@
17
apply plugin: 'com.android.library'
18
apply plugin: 'maven-publish'
19
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.
23
def VERSION = "2.6.1";
24
+def VERSION_CODE = 1;
25
26
android {
27
namespace "com.google.androidbrowserhelper"
@@ -26,7 +30,7 @@ android {
30
minSdkVersion 21
31
compileSdk 36
28
32
targetSdkVersion 31
29
- versionCode 1
33
+ versionCode VERSION_CODE
34
versionName VERSION
35
36
buildConfigField "int", "LIBRARY_VERSION", "${versionCode}"
0 commit comments