build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930
  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.workbenches"
  9. }
  10. }
  11. // 统一资源前缀,规范资源引用
  12. resourcePrefix "workbenches_"
  13. }
  14. dependencies {
  15. implementation project(path: ':baselib')
  16. api fileTree(exclude: '*.bak', dir: 'libs')
  17. implementation(rootProject.ext.androidx.kotlin_lib)
  18. implementation(rootProject.ext.androidx.kotlin_core)
  19. implementation(rootProject.ext.androidx.appcompat)
  20. implementation(rootProject.ext.androidx.material)
  21. implementation(rootProject.ext.androidx.constraintlayout)
  22. implementation(rootProject.ext.dependencies.Zxing)
  23. implementation(rootProject.ext.dependencies.MPAndroidChart)
  24. //RxJava2.0
  25. implementation(rootProject.ext.dependencies.rxjava)
  26. implementation(rootProject.ext.dependencies.rxandroid)
  27. implementation(rootProject.ext.dependencies.rxkotlin)
  28. }