Merge branch 'master' into view_models

This commit is contained in:
Matthieu 2024-03-08 11:06:33 +01:00
commit 10e93c90b7
3 changed files with 27 additions and 1 deletions

View File

@ -31,7 +31,7 @@ android {
defaultConfig {
minSdkVersion 23
targetSdkVersion 34
versionCode 31
versionCode 32
versionName "1.0.beta" + versionCode
//TODO add resConfigs("en", "fr", "ja",...) ?
@ -80,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,2 @@
<?xml version="1.0" encoding="utf-8"?>
<resources></resources>

View File

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