mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-11-19 02:29:25 +01:00
Fix versioncode generation
This commit is contained in:
parent
8a239f5e31
commit
2e8857258c
@ -78,8 +78,13 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
versionName getMyVersionName()
|
||||
def x = getMyVersionCode('249c935f')
|
||||
// We are not allowed to freely choose the hundreds column as it defines the device type
|
||||
def y = x % 100;
|
||||
x -= y * 100;
|
||||
x += y * 1000;
|
||||
// Update commit id to current when increasing gms version code
|
||||
versionCode(8489238 + getMyVersionCode('249c935f'))
|
||||
versionCode(8490200 + x)
|
||||
|
||||
ndk {
|
||||
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86"
|
||||
|
Loading…
Reference in New Issue
Block a user