詹子聪 5 سال پیش
والد
کامیت
7897497e01
3فایلهای تغییر یافته به همراه7 افزوده شده و 10 حذف شده
  1. 7 5
      common/build.gradle
  2. 0 2
      mvp/build.gradle
  3. 0 3
      network/build.gradle

+ 7 - 5
common/build.gradle

@@ -44,17 +44,19 @@ dependencies {
     //api 'androidx.navigation:navigation-ui:2.3.1'
     //api 'androidx.lifecycle:lifecycle-extensions:2.2.0'
 
-    // 带行号的Log
-    api 'com.github.zhaokaiqiang.klog:library:1.6.0'
-
-    // 查看内存泄露
-    debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.1'
+    api 'androidx.appcompat:appcompat:1.3.0-alpha02'
 
     // 防止Retrofit内存泄露
     api 'com.trello.rxlifecycle3:rxlifecycle:3.1.0'
     api 'com.trello.rxlifecycle3:rxlifecycle-android:3.1.0'
     api 'com.trello.rxlifecycle3:rxlifecycle-components:3.1.0'
 
+    // 带行号的Log
+    api 'com.github.zhaokaiqiang.klog:library:1.6.0'
+
+    // 查看内存泄露
+    debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.1'
+
     // 漂亮的TabLayout
     api 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
 

+ 0 - 2
mvp/build.gradle

@@ -36,8 +36,6 @@ dependencies {
     implementation fileTree(dir: 'libs', include: ['*.jar'])
     implementation project(path: ':common')
 
-    compile 'androidx.appcompat:appcompat:1.3.0-alpha02'
-
     def lifecycle_version = "2.2.0"
     //implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
     implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

+ 0 - 3
network/build.gradle

@@ -58,8 +58,6 @@ dependencies {
     implementation project(path: ':common')
     implementation fileTree(dir: 'libs', include: ['*.jar'])
 
-    implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
-
     // 使用 retrofit + rx + gson 实现网络请求与解析start---->
     // 导入 retrofit
     api 'com.squareup.retrofit2:retrofit:2.7.1'
@@ -76,7 +74,6 @@ dependencies {
 
     // 打印网络请求日志框架
     //implementation 'com.orhanobut:logger:2.2.0'
-
     api "com.squareup.okhttp3:logging-interceptor:3.6.0"
 
     // 调试过程中可以在通知栏查看详细的网络请求