build.gradle 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. apply plugin: 'com.android.library'
  2. android {
  3. signingConfigs {
  4. wfc {
  5. keyAlias 'wfc'
  6. keyPassword 'wildfirechat'
  7. storeFile file('../wfc.keystore')
  8. storePassword 'wildfirechat'
  9. }
  10. }
  11. compileSdkVersion 34
  12. defaultConfig {
  13. minSdkVersion 21
  14. targetSdkVersion 34
  15. multiDexEnabled true
  16. javaCompileOptions {
  17. annotationProcessorOptions {
  18. // includeCompileClasspath true
  19. }
  20. }
  21. ndk {
  22. abiFilters "armeabi-v7a", 'x86', 'x86_64' // ,'armeabi', 'arm64-v8a', 'x86', 'x86_64'
  23. }
  24. }
  25. compileOptions {
  26. coreLibraryDesugaringEnabled true
  27. sourceCompatibility JavaVersion.VERSION_1_8
  28. targetCompatibility JavaVersion.VERSION_1_8
  29. }
  30. sourceSets {
  31. main {
  32. res.srcDirs += ['src/main/res-av']
  33. // moment start
  34. // java.srcDirs += ['../../android-momentkit/src/main/java']
  35. // res.srcDirs += ['../../android-momentkit/src/main/res-moment']
  36. // moment end
  37. }
  38. }
  39. productFlavors {
  40. }
  41. namespace 'cn.wildfire.chat.kit'
  42. lint {
  43. abortOnError false
  44. }
  45. buildFeatures {
  46. buildConfig true
  47. }
  48. }
  49. dependencies {
  50. implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
  51. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.2'
  52. // wfc kit start
  53. implementation project(':webrtc')
  54. implementation project(':uikit-aar-dep')
  55. api project(':client')
  56. api project(':avenginekit')
  57. api project(':pttclient')
  58. api project(':badgeview')
  59. implementation project(':emojilibrary')
  60. implementation project(':imagepicker')
  61. // implementation 'com.lqr.adapter:library:1.0.2'
  62. // implementation 'com.jaeger.statusbaruitl:library:1.3.5'
  63. api 'androidx.appcompat:appcompat:1.7.0-alpha03'
  64. api 'com.google.android.material:material:1.10.0'
  65. // implementation 'cjt.library.wheel:camera:1.1.9'
  66. api 'com.github.bumptech.glide:glide:4.15.1'
  67. annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1'
  68. annotationProcessor 'androidx.annotation:annotation:1.7.0'
  69. implementation 'com.github.chrisbanes:PhotoView:2.3.0'
  70. api 'com.afollestad.material-dialogs:core:0.9.6.0'
  71. implementation 'com.google.code.gson:gson:2.9.0'
  72. api "androidx.lifecycle:lifecycle-extensions:2.2.0"
  73. // api 'com.king.zxing:zxing-lite:1.1.1'
  74. // api 'cn.aigestudio.wheelpicker:WheelPicker:1.1.3'
  75. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  76. implementation 'androidx.gridlayout:gridlayout:1.0.0'
  77. // implementation 'com.google.android:flexbox:2.0.1'
  78. implementation 'com.tencent.map.geolocation:TencentLocationSdk-openplatform:7.2.6'
  79. compileOnly 'io.kvh:amr:1.1.1'
  80. // implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:2.1.2'
  81. // moment start
  82. // momentclient module is just for dev, do not uncomment
  83. // implementation project(':momentclient')
  84. // moment end
  85. // kit wfc end
  86. }