|
|
@@ -1,5 +1,5 @@
|
|
|
apply plugin: 'com.android.application'
|
|
|
-//apply plugin: 'com.hujiang.android-aspectjx'
|
|
|
+apply plugin: 'com.hujiang.android-aspectjx'
|
|
|
|
|
|
|
|
|
android {
|
|
|
@@ -31,12 +31,9 @@ dependencies {
|
|
|
implementation project(path: ':common')
|
|
|
implementation project(path: ':mvp')
|
|
|
|
|
|
- // 查看内存泄露
|
|
|
- debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.1'
|
|
|
-
|
|
|
-// compile 'org.aspectj:aspectjrt:1.8.+'
|
|
|
+ compile 'org.aspectj:aspectjrt:1.8.+'
|
|
|
}
|
|
|
|
|
|
-//aspectjx {
|
|
|
-// exclude "android.support",'androidx','com.google','com.squareup.leakcanary','com.squareup.leakcanary.core','com.alipay','org.apache','com.tencent'
|
|
|
-//}
|
|
|
+aspectjx {
|
|
|
+ exclude "android.support",'androidx','com.google','com.squareup.leakcanary','com.squareup.leakcanary.core','com.alipay','org.apache','com.tencent'
|
|
|
+}
|