1.部分SDK更新

2.依赖整理
This commit is contained in:
huangjian
2021-01-05 11:51:57 +08:00
parent b9b512e5c4
commit 5ab59dd60f
10 changed files with 32 additions and 52 deletions

View File

@@ -35,13 +35,12 @@ android {
}
dependencies {
def supportLibraryVersion = "27.1.1"
def glideVersion = "4.11.0"
def retrofitVersion = "2.3.0"
def okhttp3 = "3.12.0"
def okio = "1.16.0"
def retrofitVersion = "2.9.0"
def okhttp3 = "3.14.9"
def okio = "2.2.2"
def rxjava_adapter = "2.3.0"
def gson_converter = "2.3.0"
def gson_converter = "2.9.0"
def rxjava = "2.1.7"
def rxjava_android = "2.0.1"
def rxlifecycle = "3.1.0"
@@ -49,18 +48,26 @@ dependencies {
def qiniu = "7.3.15"
def SmartRefreshLayoutVersion = "1.0.3"
def eventbusVersion = "3.0.0"
def fragment_version = "1.2.5"
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
api 'androidx.appcompat:appcompat:1.1.0'
api 'androidx.constraintlayout:constraintlayout:2.0.4'
api 'androidx.appcompat:appcompat:1.2.0'
api 'androidx.recyclerview:recyclerview:1.1.0'
api 'com.google.android.material:material:1.1.0'
api 'androidx.cardview:cardview:1.0.0'
api 'androidx.gridlayout:gridlayout:1.0.0'
api "androidx.core:core-ktx:1.3.2"
api "androidx.fragment:fragment:$fragment_version"
api "androidx.fragment:fragment-ktx:$fragment_version"
api 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
api 'androidx.lifecycle:lifecycle-extensions:2.2.0'
api 'com.google.android.material:material:1.2.1'
api "com.squareup.retrofit2:retrofit:${retrofitVersion}"
api "com.squareup.okhttp3:okhttp:${okhttp3}"
@@ -86,8 +93,7 @@ dependencies {
api "com.qiniu:qiniu-android-sdk:${qiniu}"
api "org.greenrobot:eventbus:${eventbusVersion}"
implementation "androidx.core:core-ktx:+"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
repositories {