From b30c7af3a3f2704767f2ba4347aa5a84c29130ee Mon Sep 17 00:00:00 2001 From: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com> Date: Tue, 7 Feb 2023 18:16:34 +0300 Subject: [PATCH] mobile: including fully localized languages only (#1908) * mobile: including fully localized languages only * better place for code * ios: including fully localized languages only * Revert "ios: including fully localized languages only" This reverts commit 42a0334d835d0cb834f69bf9267dfb1d0f78ecff. --- apps/android/app/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/android/app/build.gradle b/apps/android/app/build.gradle index c5222f4b55..b58c47d85c 100644 --- a/apps/android/app/build.gradle +++ b/apps/android/app/build.gradle @@ -76,6 +76,11 @@ android { } jniLibs.useLegacyPackaging = compression_level != "0" } + def isRelease = gradle.getStartParameter().taskNames.find({ it.toLowerCase().contains("release") }) != null + if (isRelease) { + // Comma separated list of languages that will be included in the apk + android.defaultConfig.resConfigs("en", "ru", "de", "fr", "it") + } } dependencies {