apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'app-joint' apply plugin: 'kotlin-kapt' apply plugin: 'dagger.hilt.android.plugin' //apply plugin: 'com.didiglobal.booster' android { compileSdkVersion versions.compileSdk buildToolsVersion versions.buildToolsVersion defaultConfig { minSdkVersion versions.minSdk targetSdkVersion versions.targetSdk versionCode 100 versionName "1.0.0" applicationId "com.hongyegroup.nucleicacidtest" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8 } multiDexEnabled true vectorDrawables.useSupportLibrary = true } buildTypes { release { //默认系统混淆 minifyEnabled true // 不显示Log buildConfigField "boolean", "LOG_DEBUG", "false" //是否可调试 debuggable false //Zipalign优化 zipAlignEnabled true //移除无用的resource文件 shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' multiDexKeepProguard file('multidex-config.pro') } debug { debuggable true multiDexKeepProguard file('multidex-config.pro') } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } lintOptions { checkReleaseBuilds false } dexOptions { preDexLibraries true maxProcessCount 8 } buildFeatures { dataBinding = true viewBinding = true } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) //每个模块都要实现的依赖 //Test testImplementation deps.android.junit androidTestImplementation deps.android.test_junit androidTestImplementation deps.android.test_espresso //依赖注入 implementation deps.support.hilt kapt deps.support.hilt_kapt implementation deps.support.hilt_vm kapt deps.support.hilt_vm_kapt implementation project(':cpt_auths') implementation project(':cpt_business') implementation project(':cpt_pensonal') }