Skip to content

Commit be2912f

Browse files
committed
refactor: Replace resourceConfigurations with localeFilters
1 parent 28529d5 commit be2912f

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

app/build.gradle.kts

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,12 @@ android {
4040
targetSdk = 35
4141
versionCode = 1
4242
versionName = "0.0.1"
43-
resourceConfigurations += listOf(
44-
"en", // Default (English)
45-
"ar", // Arabic
46-
"ca", // Catalan
47-
"cs", // Czech
48-
"de", // German
49-
"el", // Greek
50-
"es", // Spanish (Spain)
51-
"fr", // French
52-
"it", // Italian
53-
"nl", // Dutch
54-
"pl", // Polish
55-
"pt", // Portuguese (Portugal)
56-
"ru", // Russian
57-
)
5843
testInstrumentationRunner = "to.bitkit.test.HiltTestRunner"
5944
vectorDrawables {
6045
useSupportLibrary = true
6146
}
6247
ndk {
48+
//noinspection ChromeOsAbiSupport
6349
abiFilters += "arm64-v8a"
6450
}
6551
}
@@ -105,6 +91,10 @@ android {
10591
buildConfig = true
10692
compose = true
10793
}
94+
androidResources {
95+
@Suppress("UnstableApiUsage")
96+
localeFilters.addAll(listOf("en", "ar", "ca", "cs", "de", "el", "es", "fr", "it", "nl", "pl", "pt", "ru"))
97+
}
10898
packaging {
10999
resources {
110100
excludes += "/META-INF/{AL2.0,LGPL2.1}"

0 commit comments

Comments
 (0)