build.gradle 993 B

12345678910111213141516171819202122232425262728293031
  1. apply from: "../module.build.gradle"
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-kapt'
  4. android {
  5. defaultConfig {
  6. // 如果是独立模块,则使用当前组件的包名
  7. if (singleModule.toBoolean()) {
  8. applicationId "com.yingyangfly.home"
  9. }
  10. }
  11. // 统一资源前缀,规范资源引用
  12. resourcePrefix "home_"
  13. }
  14. dependencies {
  15. api project(path: ':tuichat')
  16. implementation project(path: ':baselib')
  17. api fileTree(exclude: '*.bak', dir: 'libs')
  18. implementation(rootProject.ext.androidx.kotlin_lib)
  19. implementation(rootProject.ext.androidx.kotlin_core)
  20. implementation(rootProject.ext.androidx.appcompat)
  21. implementation(rootProject.ext.androidx.material)
  22. implementation(rootProject.ext.androidx.constraintlayout)
  23. //RxJava2.0
  24. implementation(rootProject.ext.dependencies.rxjava)
  25. implementation(rootProject.ext.dependencies.rxandroid)
  26. implementation(rootProject.ext.dependencies.rxkotlin)
  27. }