feat: 增加文件分片上传功能

This commit is contained in:
2022-10-21 15:49:19 +08:00
parent 1b6024d0cb
commit 8706bb1243
15 changed files with 1220 additions and 103 deletions

View File

@@ -1,4 +1,7 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 30
@@ -83,6 +86,7 @@ dependencies {
implementation 'com.lzy.net:okgo:3.0.4'
implementation 'com.lzy.net:okrx2:2.0.2'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.readystatesoftware.chuck:library:1.0.4'
//retrofit+rxJava
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
@@ -128,7 +132,8 @@ dependencies {
def room_version = "2.2.0-alpha01"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
implementation "androidx.room:room-ktx:$room_version"
kapt "androidx.room:room-compiler:$room_version"
implementation "androidx.room:room-rxjava2:$room_version"
implementation "androidx.room:room-guava:$room_version"
testImplementation "androidx.room:room-testing:$room_version"