Release 32

This commit is contained in:
Matthieu 2024-03-01 16:41:02 +01:00
parent 319da7c11c
commit 0688dd4d02
2 changed files with 25 additions and 26 deletions

View File

@ -18,31 +18,6 @@ android {
coreLibraryDesugaringEnabled true
}
splits {
// Configures multiple APKs based on ABI.
abi {
// Enables building multiple APKs per ABI.
enable true
// By default all ABIs are included, so use reset() and include to specify that we only
// want APKs for "x86", "x86_64", "arm64-v8a" and "armeabi-v7a".
// Resets the list of ABIs for Gradle to create APKs for to none.
reset()
// Specifies a list of ABIs for Gradle to create APKs for.
include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
// Specifies that we don't want to also generate a universal APK that includes all ABIs.
universalApk false
}
}
androidResources {
generateLocaleConfig true
}
@ -56,7 +31,7 @@ android {
defaultConfig {
minSdkVersion 23
targetSdkVersion 34
versionCode 31
versionCode 32
versionName "1.0.beta" + versionCode
//TODO add resConfigs("en", "fr", "ja",...) ?
@ -105,6 +80,29 @@ android {
proguardFiles 'proguard-rules.pro'
}
}
splits {
// Configures multiple APKs based on ABI.
abi {
// Enables building multiple APKs per ABI.
enable true
// By default all ABIs are included, so use reset() and include to specify that we only
// want APKs for "x86", "x86_64", "arm64-v8a" and "armeabi-v7a".
// Resets the list of ABIs for Gradle to create APKs for to none.
reset()
// Specifies a list of ABIs for Gradle to create APKs for.
include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
// Specifies that we don't want to also generate a universal APK that includes all ABIs.
universalApk false
}
}
/**
* Make a string with the application_id (available in xml etc)
*/

View File

@ -0,0 +1 @@
Split APKs per CPU architecture, makes the APKs a lot smaller (100MB to 25MB)