Browse Source

升级kotlin/coroutine版本

drake 3 years ago
parent
commit
a1f3ebad5c
2 changed files with 4 additions and 4 deletions
  1. 2 2
      README.md
  2. 2 2
      build.gradle

+ 2 - 2
README.md

@@ -99,8 +99,8 @@ dependencyResolutionManagement {
 
 ```groovy
 // 协程库(版本可自定)
-implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3'
-implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3'
+implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0'
+implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0'
 
 // OkHttp(版本可自定, 要求OkHttp4以上版本)
 implementation 'com.squareup.okhttp3:okhttp:4.9.1'

+ 2 - 2
build.gradle

@@ -18,9 +18,9 @@
 
 buildscript {
     ext {
-        kotlin_version = '1.5.10'
+        kotlin_version = '1.5.21'
         brv_version = '1.3.31'
-        coroutine_version = '1.4.3'
+        coroutine_version = '1.5.0'
         glide_version = '4.11.0'
         room_version = "2.3.0"
         okhttp_version = "4.9.1"