2
0

build.gradle 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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 31
  12. defaultConfig {
  13. minSdkVersion 18
  14. targetSdkVersion 31 //当targetversion大于23时,需要使用fileprovider
  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. }
  46. dependencies {
  47. implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
  48. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.6'
  49. // wfc kit start
  50. implementation project(':webrtc')
  51. api project(':client')
  52. api project(':avenginekit')
  53. api project(':pttclient')
  54. api project(':badgeview')
  55. implementation project(':emojilibrary')
  56. implementation project(':imagepicker')
  57. implementation 'com.lqr.adapter:library:1.0.2'
  58. implementation 'com.jaeger.statusbaruitl:library:1.3.5'
  59. api 'androidx.appcompat:appcompat:1.3.0-alpha01'
  60. api 'com.google.android.material:material:1.6.1'
  61. implementation 'cjt.library.wheel:camera:1.1.9'
  62. api 'com.github.bumptech.glide:glide:4.9.0'
  63. annotationProcessor 'androidx.annotation:annotation:1.6.0'
  64. annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
  65. implementation 'com.github.chrisbanes:PhotoView:2.3.0'
  66. api 'com.afollestad.material-dialogs:core:0.9.6.0'
  67. implementation 'com.google.code.gson:gson:2.8.5'
  68. api "androidx.lifecycle:lifecycle-extensions:2.2.0"
  69. api 'com.king.zxing:zxing-lite:1.1.1'
  70. api 'cn.aigestudio.wheelpicker:WheelPicker:1.1.3'
  71. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  72. implementation 'androidx.gridlayout:gridlayout:1.0.0'
  73. implementation 'com.google.android:flexbox:2.0.1'
  74. implementation 'com.tencent.map.geolocation:TencentLocationSdk-openplatform:7.2.6'
  75. implementation 'io.kvh:amr:1.1.1'
  76. implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:2.1.2'
  77. // moment start
  78. // implementation project(':momentclient')
  79. //over scroller helper
  80. // implementation 'me.everything:overscroll-decor-android:1.0.4'
  81. // moment end
  82. // kit wfc end
  83. }