if (!isNeedMineModule.toBoolean()) { apply plugin: 'com.android.application' } else { apply plugin: 'com.android.library' } apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply from: "../gradle_component/baseconfig.gradle" android { defaultConfig { if (!isNeedMineModule.toBoolean()) { applicationId "com.bc_chat.mine" } // javaCompileOptions { // annotationProcessorOptions { // arguments = [moduleName: project.getName()] // } // } kapt { arguments { arg("AROUTER_MODULE_NAME", project.getName()) } } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) 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' kapt "com.alibaba:arouter-compiler:1.2.2" api project(':bc_base') implementation project(':contactcard') }