build.gradle 815 B

12345678910111213141516171819202122232425
  1. apply from: "../module.build.gradle"
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-kapt'
  4. android {
  5. defaultConfig {
  6. ndkVersion '22.1.7171670'
  7. // 如果是独立模块,则使用当前组件的包名
  8. if (singleModule.toBoolean()) {
  9. applicationId "com.yingyangfly.speech"
  10. }
  11. }
  12. // 统一资源前缀,规范资源引用
  13. resourcePrefix "speech_"
  14. }
  15. dependencies {
  16. api fileTree(exclude: '*.bak', dir: 'libs')
  17. implementation project(path: ':baselib')
  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. }