diff --git a/apps/android/app/build.gradle b/apps/android/app/build.gradle index c5222f4b5..b58c47d85 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 {