diff --git a/app/build.gradle b/app/build.gradle index bfa9dbfb..5282be20 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,12 +5,12 @@ plugins { android { namespace 'com.github.catvod' - compileSdk 34 + compileSdk 34 defaultConfig { applicationId "com.github.catvod.demo" - minSdk 24 + minSdk 16 targetSdk 34 } @@ -47,15 +47,15 @@ dependencies { implementation 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3' implementation 'com.github.thegrizzlylabs:sardine-android:0.9' implementation 'wang.harlon.quickjs:wrapper-android:0.21.1' - implementation 'com.squareup.okhttp3:okhttp:4.12.0' + implementation 'com.squareup.okhttp3:okhttp:3.12.13' implementation 'com.google.code.gson:gson:2.11.0' - implementation 'cn.wanghaomiao:JsoupXpath:2.5.3' - implementation 'com.google.zxing:core:3.5.3' + implementation 'cn.wanghaomiao:JsoupXpath:2.5.1' + implementation 'com.google.zxing:core:3.3.0' implementation 'com.orhanobut:logger:2.2.0' - implementation 'org.jsoup:jsoup:1.18.1' + implementation 'org.jsoup:jsoup:1.15.3' // Required -- JUnit 4 framework - testImplementation 'junit:junit:4.13.2' + testImplementation 'junit:junit:4.12' // Optional -- Mockito framework(可选,用于模拟一些依赖对象,以达到隔离依赖的效果) testImplementation 'org.mockito:mockito-core:5.12.0' testImplementation "org.robolectric:robolectric:4.13" diff --git a/tools/build.gradle b/tools/build.gradle index 2285cffd..c3c43b90 100644 --- a/tools/build.gradle +++ b/tools/build.gradle @@ -8,7 +8,7 @@ java { } dependencies { - implementation 'com.squareup.okhttp3:okhttp:4.12.0' - implementation 'com.google.guava:guava:33.2.1-jre' - implementation 'com.google.code.gson:gson:2.11.0' + implementation 'com.squareup.okhttp3:okhttp:3.12.13' + implementation 'com.google.guava:guava:32.0.0-jre' + implementation 'com.google.code.gson:gson:2.8.6' } \ No newline at end of file