build.gradle 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.jakewharton.butterknife'
  3. apply plugin: 'org.greenrobot.greendao'
  4. android {
  5. compileSdkVersion 28
  6. aaptOptions.cruncherEnabled = false
  7. aaptOptions.useNewCruncher = false
  8. signingConfigs {
  9. release {
  10. keyAlias 'zdw'
  11. keyPassword '123456'
  12. storeFile file('/Users/tederen/Desktop/guangxi/GXXY/tede.keystore')
  13. storePassword '123456'
  14. }
  15. config {
  16. keyAlias 'zdw'
  17. keyPassword '123456'
  18. storeFile file('/Users/tederen/Desktop/guangxi/GXXY/tede.keystore')
  19. storePassword '123456'
  20. }
  21. }
  22. defaultConfig {
  23. applicationId "com.technology.tederen"
  24. minSdkVersion 19
  25. targetSdkVersion 28
  26. versionCode 9
  27. versionName "2.0.9"
  28. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  29. multiDexEnabled true
  30. ndk {
  31. abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
  32. }
  33. signingConfig signingConfigs.release
  34. javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } }
  35. }
  36. buildTypes {
  37. release {
  38. minifyEnabled false
  39. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  40. aaptOptions.cruncherEnabled = false
  41. aaptOptions.useNewCruncher = false
  42. signingConfig signingConfigs.release
  43. }
  44. debug {
  45. signingConfig signingConfigs.release
  46. }
  47. }
  48. useLibrary 'org.apache.http.legacy'
  49. compileOptions {
  50. sourceCompatibility JavaVersion.VERSION_1_8
  51. targetCompatibility JavaVersion.VERSION_1_8
  52. }
  53. packagingOptions {
  54. exclude 'META-INF/proguard/androidx-annotations.pro'
  55. }
  56. configurations.all {
  57. resolutionStrategy.eachDependency {
  58. DependencyResolveDetails details ->
  59. def requested = details.requested
  60. if (requested.group == 'com.android.support') {
  61. if (!requested.name.startsWith("multidex")) {
  62. details.useVersion '27.1.1'
  63. }
  64. }
  65. }
  66. }
  67. greendao {
  68. schemaVersion 2
  69. daoPackage 'com.greendao.gen'
  70. targetGenDir 'src/main/java'
  71. }
  72. }
  73. dependencies {
  74. implementation fileTree(include: ['*.jar'], dir: 'libs')
  75. api 'com.android.support:appcompat-v7:28.0.0'
  76. implementation 'com.android.support:recyclerview-v7:28.0.0'
  77. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  78. implementation 'com.android.support:support-v4:28.0.0'
  79. implementation 'com.android.support:design:28.0.0'
  80. implementation files('libs/chardet.jar')
  81. testImplementation 'junit:junit:4.12'
  82. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  83. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  84. // butterknife
  85. implementation 'com.jakewharton:butterknife:9.0.0-rc1'
  86. annotationProcessor "com.jakewharton:butterknife-compiler:9.0.0-rc1"
  87. implementation 'net.qiujuer.genius:ui:2.1.1'
  88. implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
  89. implementation 'com.lzy.net:okgo:3.0.4'
  90. implementation 'com.lzy.net:okrx2:2.0.2'
  91. implementation 'com.lzy.net:okserver:2.0.5'
  92. // 圆形图片、加载图片
  93. implementation "de.hdodenhof:circleimageview:2.1.0"
  94. implementation "com.github.bumptech.glide:glide:3.7.0"
  95. // 图片选择框架 https://github.com/LuckSiege/PictureSelector
  96. implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.4'
  97. //和viewpager搭配的tab
  98. implementation 'com.github.hackware1993:MagicIndicator:1.5.0'
  99. // 选择器 https://github.com/addappcn/android-pickers
  100. implementation 'com.github.addappcn:android-pickers:1.0.3'
  101. // 设置圆角 https://www.jianshu.com/p/32d36d42b842
  102. implementation 'com.facebook.fresco:fresco:0.12.0'
  103. api project(':lib-zxing')
  104. api project(':calendar')
  105. api project(':easeui')
  106. api project(':lfilepickerlibrary')
  107. implementation project(':hmspush')
  108. // 权限申请
  109. implementation 'pub.devrel:easypermissions:0.2.0'
  110. // // 状态栏
  111. // implementation 'com.gyf.immersionbar:immersionbar:3.0.0'
  112. // implementation 'com.gyf.immersionbar:immersionbar-components:3.0.0'
  113. // 侧滑删除
  114. implementation 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0'
  115. //计算首字母
  116. implementation 'com.belerweb:pinyin4j:2.5.1'
  117. //列表控件
  118. implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
  119. //下拉刷新控件
  120. implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0'
  121. implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0'
  122. implementation 'com.hjq:toast:8.0'
  123. implementation 'com.youth.banner:banner:1.4.10'
  124. implementation 'org.simple:androideventbus:1.0.5.1'
  125. implementation 'com.android.support:multidex:1.0.1'
  126. implementation 'com.parse:parse-android:1.13.1'
  127. // 环信
  128. implementation 'com.j256.ormlite:ormlite-android:5.0'
  129. //图标
  130. implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
  131. implementation 'com.github.delight-im:Android-AdvancedWebView:v3.0.0'
  132. // implementation 'com.jaeger.statusbarutil:library:1.5.1'
  133. implementation 'com.google.android:flexbox:1.0.0'
  134. // 本地数据库
  135. implementation 'org.greenrobot:greendao:3.2.2'
  136. implementation 'com.github.donkingliang:LabelsView:1.6.1'//标签
  137. //图片查看
  138. implementation 'com.github.iielse:ImageWatcher:1.1.5'
  139. implementation 'com.hz.android.fileselectorview:library:1.3'
  140. // implementation 'com.leon:lfilepickerlibrary:1.8.0'
  141. implementation 'com.tencent.tbs.tbssdk:sdk:43697'
  142. api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
  143. }