mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Fix sonar analysis version name issue
This commit is contained in:
parent
0f1e348ac4
commit
59fa2e28c2
1 changed files with 3 additions and 0 deletions
|
@ -122,6 +122,9 @@ android {
|
|||
// Other branches (master, features, etc.) will have version code based on application version.
|
||||
versionCode project.getVersionCode()
|
||||
|
||||
// Required for sonar analysis
|
||||
versionName "${versionMajor}.${versionMinor}.${versionPatch}-sonar"
|
||||
|
||||
buildConfigField "String", "GIT_REVISION", "\"${gitRevision()}\""
|
||||
resValue "string", "git_revision", "\"${gitRevision()}\""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue