Browse Source

upgrade: brv 1.3.80

drake 2 years ago
parent
commit
21f9474f5e
4 changed files with 8 additions and 13 deletions
  1. 1 1
      README.md
  2. 1 2
      build.gradle
  3. 0 2
      net/build.gradle
  4. 6 8
      sample/build.gradle

+ 1 - 1
README.md

@@ -112,7 +112,7 @@ implementation 'com.squareup.okhttp3:okhttp:4.10.0' // 要求OkHttp4以上
 implementation 'com.github.liangjingkanji:Net:3.4.14'
 
 // 支持自动下拉刷新和缺省页的(可选)
-implementation 'com.github.liangjingkanji:BRV:1.3.79'
+implementation 'com.github.liangjingkanji:BRV:1.3.80'
 ```
 如果你是在 Android 5 (API level 21)以下开发, 要求使用OkHttp3.x请使用: [Net-okhttp3](https://github.com/liangjingkanji/Net-okhttp3)
 <br>

+ 1 - 2
build.gradle

@@ -19,9 +19,8 @@
 buildscript {
     ext {
         kotlin_version = '1.6.21'
-        brv_version = '1.3.79'
+        brv_version = '1.3.80'
         coroutine_version = '1.6.0'
-        glide_version = '4.11.0'
         okhttp_version = "4.10.0"
     }
 

+ 0 - 2
net/build.gradle

@@ -16,7 +16,6 @@
 
 apply plugin: "com.android.library"
 apply plugin: "kotlin-android"
-apply plugin: "kotlin-kapt"
 apply plugin: 'org.jetbrains.dokka'
 
 android {
@@ -44,7 +43,6 @@ android {
 
 
 dependencies {
-    api fileTree(dir: "libs", include: ["*.jar"])
     implementation 'androidx.appcompat:appcompat:1.3.1'
 
     compileOnly "com.squareup.okhttp3:okhttp:$okhttp_version"

+ 6 - 8
sample/build.gradle

@@ -69,25 +69,24 @@ android {
 
 dependencies {
     implementation fileTree(dir: "libs", include: ["*.jar"])
-    implementation "androidx.appcompat:appcompat:1.2.0"
-    implementation "androidx.core:core-ktx:1.3.2"
-    implementation "androidx.constraintlayout:constraintlayout:2.0.4"
-    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
     testImplementation "junit:junit:4.13.2"
     androidTestImplementation "androidx.test:runner:1.3.0"
     androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
+    implementation "androidx.appcompat:appcompat:1.3.1"
+    implementation "androidx.core:core-ktx:1.3.2"
+    implementation "androidx.constraintlayout:constraintlayout:2.0.4"
+    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
     implementation "androidx.recyclerview:recyclerview:1.2.0"
     implementation "com.google.android.material:material:1.3.0"
     implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
     implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
 
+    // ------------------------------网络请求-------------------------------------
     implementation project(path: ":net")
     implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
-
-    // ------------------------------配合Net使用的库-------------------------------------
-    implementation "com.github.liangjingkanji:BRV:$brv_version" // 提供自动分页/缺省页/自动下拉刷新功能
     implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version" // 协程基础库
     implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version"
+    implementation "com.github.liangjingkanji:BRV:$brv_version" // 提供自动分页/缺省页/自动下拉刷新功能
     implementation "com.github.chuckerteam.chucker:library:3.5.2" // 通知栏监听网络日志
 
 
@@ -99,7 +98,6 @@ dependencies {
     implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"
 
     // ------------------------------其他库-------------------------------------
-    implementation "com.github.bumptech.glide:glide:$glide_version" // 图片加载库
     implementation 'com.github.liangjingkanji:StatusBar:2.0.2' // 透明状态栏
     implementation 'com.github.liangjingkanji:debugkit:1.3.0' // 开发调试窗口工具
     implementation "com.github.liangjingkanji:Tooltip:1.2.1" // 吐司工具