SDK升级

This commit is contained in:
huangjian
2022-09-14 16:22:48 +08:00
parent 3f22ed44fb
commit 824e220aa8
6 changed files with 33 additions and 32 deletions

View File

@@ -35,10 +35,11 @@ android {
}
dependencies {
def glideVersion = "4.11.0"
def glideVersion = "4.13.1"
def retrofitVersion = "2.9.0"
def okhttp3 = "3.14.9"
def okio = "2.2.2"
def okhttp3 = "4.9.3"
def okio = "2.8.0"
def rxjava_adapter = "2.3.0"
def rxjava = "2.1.7"
def rxjava_android = "2.0.1"
@@ -47,34 +48,34 @@ dependencies {
def qiniu = "7.3.15"
def SmartRefreshLayoutVersion = "1.0.3"
def eventbusVersion = "3.0.0"
def fragment_version = "1.2.5"
def fragment_version = "1.3.6"
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
api 'androidx.constraintlayout:constraintlayout:2.1.3'
api 'androidx.appcompat:appcompat:1.2.0'
api 'androidx.recyclerview:recyclerview:1.1.0'
api 'androidx.constraintlayout:constraintlayout:2.1.4'
api 'androidx.appcompat:appcompat:1.4.2'
api 'androidx.recyclerview:recyclerview:1.2.1'
api 'androidx.cardview:cardview:1.0.0'
api 'androidx.gridlayout:gridlayout:1.0.0'
api "androidx.core:core-ktx:1.3.2"
api "androidx.core:core-ktx:1.7.0"
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-viewmodel-ktx:2.4.1'
api 'androidx.lifecycle:lifecycle-extensions:2.2.0'
api 'com.google.android.material:material:1.2.1'
api 'com.google.android.material:material:1.5.0'
api "com.squareup.retrofit2:retrofit:${retrofitVersion}"
api "com.squareup.okhttp3:okhttp:${okhttp3}"
api "com.squareup.okhttp3:logging-interceptor:${okhttp3}"
api "com.squareup.retrofit2:adapter-rxjava2:${rxjava_adapter}"
api 'com.google.code.gson:gson:2.8.7'
api "com.squareup.okio:okio:${okio}"
api "com.squareup.retrofit2:adapter-rxjava2:${rxjava_adapter}"
api 'com.google.code.gson:gson:2.9.0'
api "com.scwang.smartrefresh:SmartRefreshLayout:${SmartRefreshLayoutVersion}"
api "com.scwang.smartrefresh:SmartRefreshHeader:${SmartRefreshLayoutVersion}"

View File

@@ -110,7 +110,7 @@ public final class HttpLoggingInterceptor implements Interceptor {
void log(String message);
/** A {@link Logger} defaults output appropriate for the current platform. */
Logger DEFAULT = message -> Platform.get().log(INFO, message, null);
Logger DEFAULT = message -> Platform.get().log( message, INFO,null);
}
public HttpLoggingInterceptor() {