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 42a0334d83.
This commit is contained in:
Stanislav Dmitrenko
2023-02-07 18:16:34 +03:00
committed by GitHub
parent 2798671d22
commit b30c7af3a3

View File

@@ -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 {