123456789101112131415161718192021222324252627282930313233343536 |
- if (!isNeedContactModule.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 (!isNeedContactModule.toBoolean()) {
- applicationId "com.bc_chat.contacts"
- }
- // 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')
- }
|