better place for code

This commit is contained in:
Avently
2023-02-07 17:09:39 +03:00
parent a29b7ed4f1
commit edfe40c393

View File

@@ -29,8 +29,6 @@ android {
manifestPlaceholders.app_name = "@string/app_name"
manifestPlaceholders.provider_authorities = "chat.simplex.app.provider"
manifestPlaceholders.extract_native_libs = compression_level != "0"
// Comma separated list of languages that will be included in the apk
resConfigs("en", "ru", "de", "fr", "it")
}
buildTypes {
@@ -78,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 {