Read versionCode from the Manifest, since BuildConfig.VERSION_CODE does not contain the correct last digit.

This commit is contained in:
Benoit Marty 2024-05-24 15:06:47 +02:00
parent cfc16eb790
commit 3c3703cba3
4 changed files with 18 additions and 3 deletions

View file

@ -28,7 +28,7 @@ fun aBuildMeta(
applicationId: String = "",
lowPrivacyLoggingEnabled: Boolean = true,
versionName: String = "",
versionCode: Int = 0,
versionCode: Long = 0,
gitRevision: String = "",
gitBranchName: String = "",
flavorDescription: String = "",