Skip to content

Commit 1ab705b

Browse files
update build
Signed-off-by: androidacy-user <opensource@androidacy.com>
1 parent ab12c6c commit 1ab705b

2 files changed

Lines changed: 17 additions & 7 deletions

File tree

app/build.gradle.kts

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,17 @@ android {
3636
namespace = "com.fox2code.mmm"
3737
compileSdk = 33
3838
ndkVersion = "25.2.9519653"
39-
39+
signingConfigs {
40+
create("release") {
41+
val properties = Properties().apply {
42+
load(File("signing.properties").reader())
43+
}
44+
storeFile = File(properties.getProperty("storeFilePath"))
45+
storePassword = properties.getProperty("storePassword")
46+
keyPassword = properties.getProperty("keyPassword")
47+
keyAlias = properties.getProperty("keyAlias")
48+
}
49+
}
4050
defaultConfig {
4151
applicationId = "com.fox2code.mmm"
4252
minSdk = 24
@@ -54,6 +64,8 @@ android {
5464
"cs",
5565
"de",
5666
"es-rMX",
67+
"es",
68+
"el",
5769
"fr",
5870
"hu",
5971
"id",
@@ -63,7 +75,6 @@ android {
6375
"pl",
6476
"pt",
6577
"pt-rBR",
66-
"ro",
6778
"ru",
6879
"tr",
6980
"uk",
@@ -86,15 +97,12 @@ android {
8697
// Enables building multiple APKs per ABI.
8798
isEnable = true
8899

89-
// By default all ABIs are included, so use reset()
90-
91100
// Resets the list of ABIs for Gradle to create APKs for to none.
92101
reset()
93102

94103
// Specifies a list of ABIs for Gradle to create APKs for.
95104
include("x86", "x86_64", "arm64-v8a", "armeabi-v7a")
96105

97-
// Specifies that you don't want to also generate a universal APK that includes all ABIs.
98106
isUniversalApk = true
99107
}
100108
}
@@ -107,6 +115,7 @@ android {
107115
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
108116
)
109117
renderscriptOptimLevel = 3
118+
signingConfig = signingConfigs.getByName("release")
110119
}
111120
getByName("debug") {
112121
applicationIdSuffix = ".debug"

app/src/main/kotlin/com/fox2code/mmm/MainApplication.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ class MainApplication : FoxApplication(), Configuration.Provider {
220220
"cs",
221221
"de",
222222
"es-rMX",
223+
"es",
224+
"el",
223225
"fr",
224226
"hu",
225227
"id",
@@ -229,7 +231,6 @@ class MainApplication : FoxApplication(), Configuration.Provider {
229231
"pl",
230232
"pt",
231233
"pt-rBR",
232-
"ro",
233234
"ru",
234235
"tr",
235236
"uk",
@@ -693,4 +694,4 @@ class MainApplication : FoxApplication(), Configuration.Provider {
693694
)
694695
}
695696
}
696-
}
697+
}

0 commit comments

Comments
 (0)