build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. if (!isNeedImModule.toBoolean()) {
  2. apply plugin: 'com.android.application'
  3. } else {
  4. apply plugin: 'com.android.library'
  5. }
  6. apply plugin: 'kotlin-android'
  7. apply plugin: 'kotlin-android-extensions'
  8. apply plugin: 'kotlin-kapt'
  9. apply from: "../gradle_component/baseconfig.gradle"
  10. android {
  11. defaultConfig {
  12. if (!isNeedImModule.toBoolean()) {
  13. applicationId "com.bc_chat.im"
  14. }
  15. // javaCompileOptions {
  16. // annotationProcessorOptions {
  17. // arguments = [moduleName: project.getName()]
  18. // }
  19. // }
  20. kapt {
  21. arguments {
  22. arg("AROUTER_MODULE_NAME", project.getName())
  23. }
  24. }
  25. }
  26. }
  27. dependencies {
  28. implementation fileTree(include: ['*.jar'], dir: 'libs')
  29. testImplementation 'junit:junit:4.12'
  30. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  31. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  32. kapt "com.alibaba:arouter-compiler:1.2.2"
  33. // implementation project(':locationlib')
  34. api project(':RedPacket')
  35. api project(':CallKit')
  36. api project(':contactcard')
  37. api project(':Sight')
  38. api files('libs/mcssdk-1.0.1.jar')
  39. api 'com.huawei.android.hms:base:2.6.1.301'
  40. api 'com.huawei.android.hms:push:2.6.1.301'
  41. api files('libs/MiPush_SDK_Client_3_6_19.jar')
  42. api files('libs/vivo_pushsdk_v2.3.4.jar')
  43. api 'com.meizu.flyme.internet:push-internal:3.8.4'
  44. }