build.gradle 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 27
  4. defaultConfig {
  5. applicationId "com.ynstkz.shitu.android"
  6. minSdkVersion 16
  7. targetSdkVersion 27
  8. versionCode 2
  9. versionName "1.0"
  10. multiDexEnabled true
  11. javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } }
  12. ndk {
  13. abiFilters 'armeabi-v7a','x86'//, 'armeabi-v7a', 'x86_64', 'arm64-v8a', mips, mips64...加入需要生成的文件夹
  14. }
  15. }
  16. signingConfigs {
  17. myconfig {
  18. keyAlias 'shitunet'
  19. keyPassword 'key_shitu'
  20. storePassword 'key_shitu'
  21. storeFile file('src\\main\\doc\\shitunet.jks')
  22. }
  23. }
  24. buildTypes {
  25. release {
  26. minifyEnabled false
  27. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  28. signingConfig signingConfigs.myconfig
  29. }
  30. debug {
  31. debuggable true
  32. minifyEnabled false
  33. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  34. signingConfig signingConfigs.myconfig
  35. }
  36. }
  37. }
  38. dependencies {
  39. compile fileTree(dir: 'libs', include: ['*.jar'])
  40. compile project(':library')
  41. //noinspection GradleCompatible
  42. compile 'com.android.support:multidex:1.0.1'
  43. compile 'com.android.support:design:26.1.0'
  44. compile 'com.jakewharton:butterknife:7.0.1'
  45. compile 'com.github.bumptech.glide:glide:3.7.0'
  46. compile 'com.muddzdev:styleabletoast:2.0.1'
  47. compile 'org.greenrobot:eventbus:3.1.1'
  48. compile 'me.zhanghai.android.materialratingbar:library:1.2.0'
  49. compile 'com.github.vipulasri:timelineview:1.0.6'
  50. //导航
  51. compile 'com.amap.api:navi-3dmap:5.6.0_3dmap5.7.0'
  52. //定位
  53. compile 'com.amap.api:location:3.8.0'
  54. //搜索
  55. compile 'com.amap.api:search:latest.integration'
  56. //友盟SDK
  57. compile 'com.umeng.analytics:analytics:latest.integration'
  58. //PushSDK必须依赖基础组件库,所以需要加入对应依赖
  59. compile 'com.umeng.sdk:common:1.5.0'
  60. //PushSDK必须依赖utdid库,所以需要加入对应依赖
  61. compile 'com.umeng.sdk:utdid:1.1.5.3'
  62. //PushSDK
  63. compile 'com.umeng.sdk:push:4.1.0'
  64. //图片压缩
  65. compile 'top.zibin:Luban:1.1.4'
  66. //
  67. compile 'com.android.support:exifinterface:27.1.1'
  68. }