Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
Locales Config
  • Loading branch information
DHD2280 committed Mar 15, 2024
1 parent ab8a8e0 commit 2054e5a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ android {
keyPassword = keystoreProperties["keyPassword"] as String
}
}
androidResources {
generateLocaleConfig = true
}
namespace = "it.dhd.bcrmanager"
compileSdk = 34

Expand All @@ -33,6 +30,11 @@ android {
versionName = "1.2.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
setProperty("archivesBaseName", rootProject.name + "-v" + versionName + "-" + versionCode)
resourceConfigurations.addAll(listOf(
"en",
"it",
"lv"
))
}

buildTypes {
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/xml/locales_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="en" />
<locale android:name="it" />
<locale android:name="lv" />
</locale-config>

0 comments on commit 2054e5a

Please sign in to comment.