apply plugin: 'com.android.application' //apply plugin: 'com.hujiang.android-aspectjx' android { compileSdkVersion versions.compileSdk buildToolsVersion versions.buildTools defaultConfig { applicationId "com.miekir.newmvp" minSdkVersion versions.minSdk targetSdkVersion versions.targetSdk versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' implementation project(path: ':common') implementation project(path: ':mvp') // 查看内存泄露 debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.1' // 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' //}