Build scripts cleanup and dictionary loading optimization
* moved the source languages out of assets/ into their own directory (#356) * split build.gradle into several smaller files * improved word frequency validation during build time * slightly optimized dictionary loading speed using pre-calculated file size * fixed a potential crash when loading invalid assets * fixed dictionary loading progress starting at 100% then jumping to 0% when manually loading two dictionaries one after another * documentation update
This commit is contained in:
parent
d8c2f7fc15
commit
44ecb8999e
50 changed files with 367 additions and 320 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -23,10 +23,12 @@ jobs:
|
|||
- name: Setup Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
|
||||
# validation
|
||||
# validate and build
|
||||
- name: Validate Dictionaries
|
||||
run: ./gradlew validateLanguages
|
||||
- name: Build Languages
|
||||
run: ./gradlew copyLanguages calculateDictionarySizes
|
||||
- name: Lint
|
||||
run: ./gradlew lint
|
||||
run: ./gradlew lint # this actually runs mergeResources, so it must come after the dictionary tasks
|
||||
- name: Build Release APK
|
||||
run: ./gradlew build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue