apply plugin: 'com.android.application' android { compileSdkVersion rootProject.ext.gCompileSdkVersion defaultConfig { applicationId "com.sucstepsoft.supervision" minSdkVersion rootProject.ext.gMinSdkVersion targetSdkVersion rootProject.ext.gTargetSdkVersion versionCode rootProject.ext.gVersionCode versionName rootProject.ext.gVersionName testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" javaCompileOptions { annotationProcessorOptions { arguments = [AROUTER_MODULE_NAME: project.getName()] } } multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) // implementation fileTree(dir: "$buildDir/native-libs", include: 'native-libs.jar') implementation "com.android.support:appcompat-v7:$rootProject.ext.gAppcompatVersion_v7" implementation "com.android.support.constraint:constraint-layout:$rootProject.ext.gConstraint_layout" testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation "com.alibaba:arouter-api:$rootProject.ext.gRouterApiVersion" implementation "com.jakewharton:butterknife:$rootProject.ext.gButterKnifeVersion" implementation 'com.android.support:multidex:1.0.3' implementation project(':cm_utils') //内存检查================== debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1' // Optional, if you use support library fragments: debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.1' //====================== if (IsModule.toBoolean()) { implementation project(':moduleparty') implementation project(':modulesupertools') implementation project(':moduleoa') implementation project(':modulemain') implementation project(':modulecheck') implementation project(':camera') implementation project(':modulepatrol') } }