Use WorkManager for downloads

This commit is contained in:
Manuel Fuhr 2022-04-02 16:58:05 +02:00
parent 21abce0139
commit ecc4def40c
5 changed files with 428 additions and 43 deletions

View file

@ -95,6 +95,7 @@ android {
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation "androidx.constraintlayout:constraintlayout:2.1.3"
implementation 'androidx.work:work-runtime:2.7.1'
implementation project(':brouter-mapaccess')
implementation project(':brouter-core')
@ -105,6 +106,7 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.work:work-testing:2.7.1'
}
task generateProfiles(type: Exec) {