build.gradle 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. buildToolsVersion '28.0.3'
  5. defaultConfig {
  6. applicationId "com.android.chmo"
  7. minSdkVersion 15
  8. targetSdkVersion 28
  9. versionCode 112
  10. versionName "1.1.2"
  11. ndk {
  12. abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
  13. }
  14. multiDexEnabled = true
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. sourceSets {
  23. main {
  24. jniLibs.srcDirs = ['libs']
  25. }
  26. }
  27. lintOptions {
  28. checkReleaseBuilds false
  29. abortOnError false
  30. }
  31. dexOptions {
  32. preDexLibraries false
  33. jumboMode true
  34. javaMaxHeapSize "4g"
  35. }
  36. packagingOptions {
  37. exclude 'META-INF/LICENSE.txt'
  38. exclude 'META-INF/NOTICE.txt'
  39. }
  40. aaptOptions {
  41. cruncherEnabled = false
  42. useNewCruncher = false
  43. }
  44. compileOptions {
  45. sourceCompatibility = '1.8'
  46. targetCompatibility = '1.8'
  47. }
  48. signingConfigs {
  49. debug {
  50. storeFile file('debug.jks')
  51. }
  52. release {
  53. storeFile file('release.jks')
  54. storePassword "123456"
  55. keyAlias "chmo"
  56. keyPassword "123456"
  57. }
  58. }
  59. buildTypes {
  60. release {
  61. signingConfig signingConfigs.release
  62. }
  63. }
  64. }
  65. task copyDownloadableDepsToLibs(type: Copy) {
  66. from configurations.compile
  67. into 'libs'
  68. }
  69. dependencies {
  70. implementation fileTree(include: ['*.jar'], dir: 'libs')
  71. implementation 'com.android.support:appcompat-v7:28.0.0'
  72. implementation 'com.android.support:design:28.0.0'
  73. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  74. annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
  75. implementation 'com.jakewharton:butterknife:8.8.1'
  76. implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.5.1'
  77. implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.5.1'
  78. implementation 'com.google.code.gson:gson:2.8.2'
  79. implementation 'org.xutils:xutils:3.5.0'
  80. implementation 'com.contrarywind:Android-PickerView:4.1.6'
  81. implementation 'org.greenrobot:eventbus:3.1.1'
  82. implementation 'com.android.support:multidex:1.0.1'
  83. implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
  84. implementation 'com.lovedise:permissiongen:0.0.6'
  85. implementation('com.github.chrisbanes:PhotoView:2.1.4') {
  86. exclude group: 'com.android.support'
  87. }
  88. implementation files('libs/AMap2DMap_3.0.0_AMapSearch_3.6.1_AMapLocation_3.2.1_20161228.jar')
  89. implementation project(':uikit')
  90. implementation files('libs/alipaySdk.jar')
  91. implementation files('libs/MiPush_SDK_Client_3_6_2.jar')
  92. implementation files('libs/HMS_SDK_2.6.1.301.jar')
  93. implementation 'com.netease.nimlib:push:5.4.0'
  94. implementation 'com.netease.nimlib:basesdk:5.4.0'
  95. implementation 'com.netease.nimlib:nrtc:5.4.0'
  96. implementation 'com.netease.nimlib:rts:5.4.0'
  97. implementation 'com.netease.nimlib:avchat:5.4.0'
  98. implementation project(':avchatkit')
  99. implementation 'com.github.dmytrodanylyk.shadow-layout:library:1.0.3'
  100. implementation 'com.android.support:support-v4:28.0.0'
  101. implementation 'com.github.kenglxn.QRGen:android:2.5.0'
  102. implementation 'com.android.support:recyclerview-v7:28.0.0'
  103. implementation 'cn.aigestudio.wheelpicker:WheelPicker:1.1.2'
  104. implementation 'com.google.android:flexbox:1.0.0'
  105. implementation 'com.liulishuo.filedownloader:library:1.7.5'
  106. implementation 'com.blankj:utilcode:1.10.0'
  107. implementation 'com.zzhoujay.richtext:richtext:3.0.7'
  108. implementation 'com.zzhoujay:html:1.0.2'
  109. implementation 'cn.bingoogolapple:bga-banner:2.2.5@aar'
  110. }