Browse Source

更新依赖

drake 4 years ago
parent
commit
37ddd3105c
3 changed files with 11 additions and 11 deletions
  1. 4 4
      build.gradle
  2. 6 6
      sample/build.gradle
  3. 1 1
      sample/src/main/java/com/drake/net/sample/base/App.kt

+ 4 - 4
build.gradle

@@ -18,11 +18,11 @@
 
 
 buildscript {
 buildscript {
     ext {
     ext {
-        kotlin_version = '1.4.10'
+        kotlin_version = '1.4.31'
         brv_version = '1.3.19'
         brv_version = '1.3.19'
-        coroutine_version = '1.3.9'
+        coroutine_version = '1.4.3'
         glide_version = '4.11.0'
         glide_version = '4.11.0'
-        room_version = "2.2.5"
+        room_version = "2.2.6"
     }
     }
 
 
     repositories {
     repositories {
@@ -30,7 +30,7 @@ buildscript {
         jcenter()
         jcenter()
     }
     }
     dependencies {
     dependencies {
-        classpath 'com.android.tools.build:gradle:4.1.0'
+        classpath 'com.android.tools.build:gradle:4.1.3'
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
         classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
         classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
         classpath 'org.jetbrains.dokka:dokka-gradle-plugin:0.10.1'
         classpath 'org.jetbrains.dokka:dokka-gradle-plugin:0.10.1'

+ 6 - 6
sample/build.gradle

@@ -58,15 +58,15 @@ dependencies {
     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
     implementation "androidx.appcompat:appcompat:1.2.0"
     implementation "androidx.appcompat:appcompat:1.2.0"
     implementation "androidx.core:core-ktx:1.3.2"
     implementation "androidx.core:core-ktx:1.3.2"
-    implementation "androidx.constraintlayout:constraintlayout:2.0.3"
+    implementation "androidx.constraintlayout:constraintlayout:2.0.4"
     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
-    testImplementation "junit:junit:4.13.1"
+    testImplementation "junit:junit:4.13.2"
     androidTestImplementation "androidx.test:runner:1.3.0"
     androidTestImplementation "androidx.test:runner:1.3.0"
     androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
     androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
     implementation "androidx.recyclerview:recyclerview:1.1.0"
     implementation "androidx.recyclerview:recyclerview:1.1.0"
-    implementation "com.google.android.material:material:1.2.1"
-    implementation 'androidx.navigation:navigation-fragment-ktx:2.3.1'
-    implementation 'androidx.navigation:navigation-ui-ktx:2.3.1'
+    implementation "com.google.android.material:material:1.3.0"
+    implementation 'androidx.navigation:navigation-fragment-ktx:2.3.4'
+    implementation 'androidx.navigation:navigation-ui-ktx:2.3.4'
 
 
     implementation project(path: ":net")
     implementation project(path: ":net")
 
 
@@ -84,7 +84,7 @@ dependencies {
 
 
     // ------------------------------我的其他库-------------------------------------
     // ------------------------------我的其他库-------------------------------------
     implementation 'com.github.liangjingkanji:StatusBar:1.1.0' // 透明状态栏
     implementation 'com.github.liangjingkanji:StatusBar:1.1.0' // 透明状态栏
-    implementation 'com.github.liangjingkanji:debugkit:1.2.9' // 开发调试窗口工具
+    implementation 'com.github.liangjingkanji:debugkit:1.2.10' // 开发调试窗口工具
     implementation 'com.github.liangjingkanji:Tooltip:1.1.0' // 吐司工具
     implementation 'com.github.liangjingkanji:Tooltip:1.1.0' // 吐司工具
 
 
     // ------------------------------Google数据库-------------------------------------
     // ------------------------------Google数据库-------------------------------------

+ 1 - 1
sample/src/main/java/com/drake/net/sample/base/App.kt

@@ -43,7 +43,7 @@ class App : Application() {
             errorLayout = R.layout.layout_error
             errorLayout = R.layout.layout_error
         }
         }
 
 
-        initNet("http://182.92.97.186/") {
+        initNet("http://43.128.31.195/") {
             converter(MoshiConvert()) // 自动解析JSON映射到实体类中, 转换器分为全局和单例, 覆盖生效(拦截器允许多个)
             converter(MoshiConvert()) // 自动解析JSON映射到实体类中, 转换器分为全局和单例, 覆盖生效(拦截器允许多个)
             cacheEnabled()
             cacheEnabled()
             addInterceptor(NetTagInterceptor())
             addInterceptor(NetTagInterceptor())