db migrations
simplified the Add Word dialog added a popup confirmation when there are new dictionary words
This commit is contained in:
parent
0e8dfbe578
commit
4907671aa3
37 changed files with 497 additions and 313 deletions
|
|
@ -25,12 +25,14 @@ tasks.register('copyLanguages', Copy) {
|
|||
into LANGUAGES_OUTPUT_DIR
|
||||
}
|
||||
|
||||
tasks.register('calculateDictionarySizes') {
|
||||
tasks.register('writeDictionaryProperties') {
|
||||
inputs.dir fileTree(dir: DICTIONARIES_INPUT_DIR)
|
||||
outputs.dir DICTIONARIES_OUTPUT_DIR
|
||||
|
||||
doLast {
|
||||
getDictionarySizes(DICTIONARIES_INPUT_DIR, DICTIONARIES_OUTPUT_DIR)
|
||||
[getDictionarySizes, getDictionaryHashes].parallelStream().forEach { action ->
|
||||
action(DICTIONARIES_INPUT_DIR, DICTIONARIES_OUTPUT_DIR)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -89,12 +91,12 @@ android {
|
|||
|
||||
applicationVariants.configureEach { variant ->
|
||||
tasks.named("generate${variant.name.capitalize()}Assets")?.configure {
|
||||
dependsOn(validateLanguages, copyLanguages, calculateDictionarySizes)
|
||||
dependsOn(validateLanguages, copyLanguages, writeDictionaryProperties)
|
||||
}
|
||||
|
||||
["lintAnalyzeDebug", "generateDebugLintReportModel", "lintVitalAnalyzeRelease", "generateReleaseLintVitalReportModel"].each { taskName ->
|
||||
tasks.named(taskName)?.configure {
|
||||
dependsOn(validateLanguages, copyLanguages, calculateDictionarySizes)
|
||||
dependsOn(validateLanguages, copyLanguages, writeDictionaryProperties)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue