Skip to content

Commit 09ed92d

Browse files
K0170016K0170016
authored andcommitted
依赖升级,精简core_base
1 parent 7bf5fd1 commit 09ed92d

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

core-base/build.gradle

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,6 @@ dependencies {
9797
api "androidx.multidex:multidex:${X_MULTIDEX}"
9898
//X-Material
9999
api "com.google.android.material:material:${X_MATERIAL}"
100-
//OkHttp
101-
api "com.squareup.okhttp3:okhttp:${OKHTTP}"
102-
api "com.squareup.okhttp3:logging-interceptor:${OKHTTP}"
103-
//Retrofit
104-
api "com.squareup.retrofit2:retrofit:${RETROFIT}"
105-
api "com.squareup.retrofit2:converter-gson:${RETROFIT}"
106-
api "com.squareup.retrofit2:adapter-rxjava2:${RETROFIT}"
107-
//Json解析
108-
api "com.google.code.gson:gson:${GSON}"
109-
api "com.alibaba:fastjson:${FAST_JSON}"
110100
//Dagger编译时生成
111101
kapt "com.google.dagger:dagger-compiler:${DAGGER}"
112102
kapt "com.google.dagger:dagger-android-processor:${DAGGER}"

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ COMPILE_SDK_VERSION=29
5858
BUILD_GRADLE=3.5.0
5959
GRADLE_VERSION=5.5
6060
#RxFluxArchitecture
61-
RX_FLUX_ARCHITECTURE=1.1.7
61+
RX_FLUX_ARCHITECTURE=1.1.8
6262
RX_FLUX_EVENTBUS=1.0.2
6363
RX_FLUX_UTILS=1.0.4
6464
RX_FLUX_IMAGE=1.0.0
@@ -68,7 +68,7 @@ RX_FLUX_TEST_UTILS=1.0.5
6868
#Maven
6969
ANDROID_MAVEN_GRADLE_PLUGIN=2.1
7070
#Kotlin
71-
KOTLIN_VERSION=1.3.41
71+
KOTLIN_VERSION=1.3.50
7272
KOTLIN_COROUTINES=1.3.0-M1
7373
#Kotlin Android 支持库 Anko
7474
ANKO=0.10.8
@@ -104,7 +104,7 @@ TEST_ROBOLECTRIC=4.3
104104
TEST_POWER_MOCK=2.0.2
105105
TEST_DEAAGE_MOCK=0.8.5
106106
#RxJava2
107-
RX_JAVA_2=2.2.11
107+
RX_JAVA_2=2.2.12
108108
RX_ANDROID_2=2.1.1
109109
RX_KOTLIN_2=2.4.0
110110
#RxJava 绑定管理 AutoDispose

module-common/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@ dependencies {
108108
api "androidx.recyclerview:recyclerview:${X_RECYCLE_RVIEW}"
109109
//X_ConstraintLayout
110110
api "androidx.constraintlayout:constraintlayout:${X_CONSTRAINT}"
111+
//OkHttp
112+
api "com.squareup.okhttp3:okhttp:${OKHTTP}"
113+
api "com.squareup.okhttp3:logging-interceptor:${OKHTTP}"
114+
//Retrofit
115+
api "com.squareup.retrofit2:retrofit:${RETROFIT}"
116+
api "com.squareup.retrofit2:converter-gson:${RETROFIT}"
117+
api "com.squareup.retrofit2:adapter-rxjava2:${RETROFIT}"
118+
//Json解析
119+
api "com.google.code.gson:gson:${GSON}"
120+
api "com.alibaba:fastjson:${FAST_JSON}"
111121
//路由器ARouter
112122
api "com.alibaba:arouter-api:${AROUTER_API}"
113123
//Kotlin Android 工具类Anko Commons

0 commit comments

Comments
 (0)