diff --git a/app/build.gradle b/app/build.gradle index 2144a34e2..f37ab3082 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -110,7 +110,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.core:core-ktx:1.6.0' api 'com.squareup.retrofit2:retrofit:2.9.0' api 'com.squareup.retrofit2:converter-gson:2.9.0' @@ -168,10 +168,10 @@ dependencies { implementation 'com.makeramen:roundedimageview:2.3.0' - implementation 'com.github.liujingxing.rxhttp:rxhttp:2.8.0' + implementation 'com.github.liujingxing.rxhttp:rxhttp:2.7.3' // okhttp3系列组件版本最高到 4.4.1,参看 RubySSLSocketFactory implementation 'com.squareup.okhttp3:okhttp:4.4.1' - kapt 'com.github.liujingxing.rxhttp:rxhttp-compiler:2.8.0' + kapt 'com.github.liujingxing.rxhttp:rxhttp-compiler:2.7.3' implementation 'io.reactivex.rxjava3:rxjava:3.1.3' implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' @@ -207,4 +207,4 @@ dependencies { } } -//lintKotlin.dependsOn(formatKotlin) \ No newline at end of file +//lintKotlin.dependsOn(formatKotlin) diff --git a/build.gradle b/build.gradle index 3c2a082db..f22cd4425 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.6.10' + ext.kotlin_version = '1.5.32' repositories { maven { url "https://jitpack.io" } maven { url "https://plugins.gradle.org/m2/" } diff --git a/models/build.gradle b/models/build.gradle index dfe7b7b3b..5f99e95d1 100644 --- a/models/build.gradle +++ b/models/build.gradle @@ -30,7 +30,7 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.core:core-ktx:1.6.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' }