build.gradle 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. aaptOptions.cruncherEnabled = false
  13. aaptOptions.useNewCruncher = false
  14. defaultConfig {
  15. minSdkVersion 18
  16. targetSdkVersion 31 //当targetversion大于23时,需要使用fileprovider
  17. versionCode 27
  18. versionName "0.8.0.rc3"
  19. multiDexEnabled true
  20. javaCompileOptions {
  21. annotationProcessorOptions {
  22. includeCompileClasspath true
  23. }
  24. }
  25. ndk {
  26. abiFilters "armeabi-v7a", 'x86', 'x86_64' // ,'armeabi', 'arm64-v8a', 'x86', 'x86_64'
  27. }
  28. }
  29. compileOptions {
  30. coreLibraryDesugaringEnabled true
  31. sourceCompatibility JavaVersion.VERSION_1_8
  32. targetCompatibility JavaVersion.VERSION_1_8
  33. }
  34. lintOptions {
  35. abortOnError false
  36. }
  37. sourceSets {
  38. main {
  39. res.srcDirs += ['src/main/res-av']
  40. // moment start
  41. // java.srcDirs += ['../../android-momentkit/src/main/java']
  42. // res.srcDirs += ['../../android-momentkit/src/main/res-moment']
  43. // moment end
  44. }
  45. }
  46. productFlavors {
  47. }
  48. }
  49. dependencies {
  50. implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
  51. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.6'
  52. // wfc kit start
  53. implementation project(':webrtc')
  54. api project(':client')
  55. api project(':avenginekit')
  56. api project(':pttclient')
  57. api project(':badgeview')
  58. implementation project(':emojilibrary')
  59. implementation project(':imagepicker')
  60. implementation 'com.lqr.adapter:library:1.0.2'
  61. implementation 'com.jaeger.statusbaruitl:library:1.3.5'
  62. api 'androidx.appcompat:appcompat:1.3.0-alpha01'
  63. api 'com.google.android.material:material:1.6.1'
  64. implementation 'cjt.library.wheel:camera:1.1.9'
  65. implementation 'com.jakewharton:butterknife:10.2.1'
  66. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
  67. api 'com.github.bumptech.glide:glide:4.9.0'
  68. annotationProcessor 'com.github.bumptech.glide:compiler:4.9.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.8.5'
  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. implementation 'io.kvh:amr:1.1.1'
  80. implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:2.1.2'
  81. // moment start
  82. // implementation project(':momentclient')
  83. //over scroller helper
  84. // implementation 'me.everything:overscroll-decor-android:1.0.4'
  85. // moment end
  86. // kit wfc end
  87. }
  88. apply plugin: 'com.jakewharton.butterknife'