Add task to generate locales_config.xml (#7754)

This commit is contained in:
Andreas
2022-08-14 16:43:28 +02:00
committed by GitHub
parent 9dbc1aa7a3
commit 4291cc8eb1
6 changed files with 62 additions and 1 deletions

View File

@@ -281,6 +281,8 @@ dependencies {
}
tasks {
val localesConfigTask = registerLocalesConfigTask(project)
withType<Test> {
useJUnitPlatform()
testLogging {
@@ -313,7 +315,7 @@ tasks {
}
preBuild {
dependsOn(formatKotlin, copyHebrewStrings)
dependsOn(formatKotlin, copyHebrewStrings, localesConfigTask)
}
}

View File

@@ -27,6 +27,7 @@
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:localeConfig="@xml/locales_config"
android:largeHeap="true"
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"