build.gradle 5.6 KB

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