update build

Signed-off-by: androidacy-user <opensource@androidacy.com>
pull/89/head
androidacy-user 2 years ago
parent ab12c6c1a1
commit 1ab705bb0b

@ -36,7 +36,17 @@ android {
namespace = "com.fox2code.mmm" namespace = "com.fox2code.mmm"
compileSdk = 33 compileSdk = 33
ndkVersion = "25.2.9519653" ndkVersion = "25.2.9519653"
signingConfigs {
create("release") {
val properties = Properties().apply {
load(File("signing.properties").reader())
}
storeFile = File(properties.getProperty("storeFilePath"))
storePassword = properties.getProperty("storePassword")
keyPassword = properties.getProperty("keyPassword")
keyAlias = properties.getProperty("keyAlias")
}
}
defaultConfig { defaultConfig {
applicationId = "com.fox2code.mmm" applicationId = "com.fox2code.mmm"
minSdk = 24 minSdk = 24
@ -54,6 +64,8 @@ android {
"cs", "cs",
"de", "de",
"es-rMX", "es-rMX",
"es",
"el",
"fr", "fr",
"hu", "hu",
"id", "id",
@ -63,7 +75,6 @@ android {
"pl", "pl",
"pt", "pt",
"pt-rBR", "pt-rBR",
"ro",
"ru", "ru",
"tr", "tr",
"uk", "uk",
@ -86,15 +97,12 @@ android {
// Enables building multiple APKs per ABI. // Enables building multiple APKs per ABI.
isEnable = true isEnable = true
// By default all ABIs are included, so use reset()
// Resets the list of ABIs for Gradle to create APKs for to none. // Resets the list of ABIs for Gradle to create APKs for to none.
reset() reset()
// Specifies a list of ABIs for Gradle to create APKs for. // Specifies a list of ABIs for Gradle to create APKs for.
include("x86", "x86_64", "arm64-v8a", "armeabi-v7a") include("x86", "x86_64", "arm64-v8a", "armeabi-v7a")
// Specifies that you don't want to also generate a universal APK that includes all ABIs.
isUniversalApk = true isUniversalApk = true
} }
} }
@ -107,6 +115,7 @@ android {
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
) )
renderscriptOptimLevel = 3 renderscriptOptimLevel = 3
signingConfig = signingConfigs.getByName("release")
} }
getByName("debug") { getByName("debug") {
applicationIdSuffix = ".debug" applicationIdSuffix = ".debug"

@ -220,6 +220,8 @@ class MainApplication : FoxApplication(), Configuration.Provider {
"cs", "cs",
"de", "de",
"es-rMX", "es-rMX",
"es",
"el",
"fr", "fr",
"hu", "hu",
"id", "id",
@ -229,7 +231,6 @@ class MainApplication : FoxApplication(), Configuration.Provider {
"pl", "pl",
"pt", "pt",
"pt-rBR", "pt-rBR",
"ro",
"ru", "ru",
"tr", "tr",
"uk", "uk",
@ -693,4 +694,4 @@ class MainApplication : FoxApplication(), Configuration.Provider {
) )
} }
} }
} }

Loading…
Cancel
Save