From 0688dd4d0290902a5eab2a594ac0f74056469f9e Mon Sep 17 00:00:00 2001 From: Matthieu <24-artectrex@users.noreply.shinice.net> Date: Fri, 1 Mar 2024 16:41:02 +0100 Subject: [PATCH] Release 32 --- app/build.gradle | 50 +++++++++---------- .../metadata/android/en-US/changelogs/32.txt | 1 + 2 files changed, 25 insertions(+), 26 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/32.txt diff --git a/app/build.gradle b/app/build.gradle index 7be4aee0..a95c5561 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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) */ diff --git a/fastlane/metadata/android/en-US/changelogs/32.txt b/fastlane/metadata/android/en-US/changelogs/32.txt new file mode 100644 index 00000000..325a3499 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/32.txt @@ -0,0 +1 @@ +Split APKs per CPU architecture, makes the APKs a lot smaller (100MB to 25MB)