build.gradle 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.2"
  5. defaultConfig {
  6. applicationId "com.cnooc.construction.security"
  7. minSdkVersion 21
  8. //noinspection ExpiredTargetSdkVersion
  9. targetSdkVersion 29
  10. versionCode 220
  11. versionName "2.2.0"
  12. ndk {
  13. abiFilters "armeabi", 'armeabi-v7a', "arm64-v8a", 'x86', 'x86_64'
  14. }
  15. javaCompileOptions {
  16. annotationProcessorOptions {
  17. arguments = [AROUTER_MODULE_NAME: project.getName()]
  18. }
  19. }
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled true
  24. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  25. shrinkResources true
  26. }
  27. }
  28. lintOptions {
  29. abortOnError false
  30. }
  31. aaptOptions {
  32. noCompress "tflite"
  33. noCompress "lite"
  34. }
  35. sourceSets {
  36. main{
  37. jniLibs.srcDirs = ['src/main/jniLibs']
  38. }
  39. }
  40. }
  41. dependencies {
  42. implementation project(':smartcropperlib')
  43. implementation project(path: ':LRecyclerView')
  44. implementation fileTree(include: ['*.jar'], dir: 'libs')
  45. // For developers using AndroidX in their applications
  46. //implementation 'pub.devrel:easypermissions:3.0.0'
  47. // For developers using the Android Support Library
  48. implementation 'pub.devrel:easypermissions:2.0.1'
  49. // implementation project(path: ':opencv')
  50. // api 'com.github.pqpo:SmartCropper:v2.1.1'
  51. implementation 'androidx.appcompat:appcompat:1.0.2'
  52. implementation group: 'io.reactivex.rxjava2', name: 'rxjava', version: '2.2.14'
  53. implementation group: 'io.reactivex.rxjava2', name: 'rxandroid', version: '2.1.1'
  54. implementation group: 'com.orhanobut', name: 'logger', version: '2.2.0'
  55. implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2'
  56. implementation group: 'com.squareup.retrofit2', name: 'retrofit', version: '2.6.2'
  57. implementation group: 'com.squareup.okhttp3', name: 'logging-interceptor', version: '4.2.2'
  58. implementation group: 'com.squareup.retrofit2', name: 'adapter-rxjava', version: '2.6.2'
  59. implementation group: 'com.squareup.retrofit2', name: 'converter-gson', version: '2.6.2'
  60. implementation group: 'com.facebook.stetho', name: 'stetho', version: '1.5.1'
  61. implementation group: 'com.facebook.stetho', name: 'stetho-okhttp3', version: '1.5.1'
  62. implementation group: 'com.github.bumptech.glide', name: 'glide', version: '4.10.0'
  63. implementation group: 'com.danikula', name: 'videocache', version: '2.7.0'
  64. implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
  65. implementation 'org.xutils:xutils:3.3.40'
  66. implementation 'com.github.donkingliang:ImageSelector:2.2.0'
  67. implementation 'com.android.volley:volley:1.2.1'
  68. implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
  69. implementation project(path: ':LRecyclerview_library')
  70. implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
  71. implementation 'androidx.cardview:cardview:1.0.0'
  72. implementation group: 'com.jakewharton', name: 'disklrucache', version: '2.0.2'
  73. implementation group: 'com.google.zxing', name: 'core', version: '3.4.0'
  74. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  75. implementation 'com.xiaoqi:pdftools:1.0.2'
  76. implementation 'com.github.zrunker:ZImageView:v1.0'
  77. implementation project(path: ':image_lib')
  78. implementation 'androidx.viewpager2:viewpager2:1.0.0'
  79. implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
  80. implementation 'com.google.android.flexbox:flexbox:3.0.0'
  81. implementation 'com.github.GitHubZJY:AndroidPdfHelper:v1.0.0'
  82. }