Skip to content

Commit 2d61aa2

Browse files
committed
Issue mozilla-mobile#1160: Glean: Expose library version as BuildConfig flag.
1 parent f08174b commit 2d61aa2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/service/glean/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ android {
1111
defaultConfig {
1212
minSdkVersion Config.minSdkVersion
1313
targetSdkVersion Config.targetSdkVersion
14+
15+
buildConfigField("String", "LIBRARY_VERSION", "\"" + Config.componentsVersion + "\"")
1416
}
1517

1618
buildTypes {

0 commit comments

Comments
 (0)