build.gradle 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. defaultConfig {
  5. minSdkVersion rootProject.ext.minSdkVersion
  6. targetSdkVersion rootProject.ext.targetSdkVersion
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. }
  18. dependencies {
  19. api fileTree(include: ['*.jar'], dir: 'libs')
  20. api(name: 'alipaySdk-15.6.8-20191021122514', ext: 'aar')
  21. api(name: 'OcrSDKv1.0.7-release', ext: 'aar')
  22. api 'com.android.support:appcompat-v7:28.0.0'
  23. api 'com.android.support:design:28.0.0'
  24. api 'com.android.support.constraint:constraint-layout:1.1.3'
  25. api 'com.android.support:support-vector-drawable:28.0.0'
  26. //rx
  27. api 'io.reactivex.rxjava2:rxjava:2.0.7'
  28. api 'io.reactivex.rxjava2:rxandroid:2.0.1'
  29. //retrofit
  30. api 'com.squareup.retrofit2:retrofit:2.2.0'
  31. api 'com.squareup.retrofit2:converter-gson:2.2.0'
  32. api 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'
  33. api 'com.squareup.okhttp3:logging-interceptor:3.6.0'
  34. api 'com.facebook.stetho:stetho-okhttp3:1.3.1'
  35. //rxpermissions
  36. api 'com.github.tbruyelle:rxpermissions:0.10.2'
  37. //rxlife
  38. //https://github.com/trello/RxLifecycle
  39. api 'com.trello.rxlifecycle2:rxlifecycle:2.0.1'
  40. api 'com.trello.rxlifecycle2:rxlifecycle-android:2.0.1'
  41. api 'com.trello.rxlifecycle2:rxlifecycle-components:2.0.1'
  42. //gson
  43. api 'com.google.code.gson:gson:2.8.5'
  44. //glide
  45. api 'com.github.bumptech.glide:glide:3.8.0'
  46. //banner
  47. api 'com.youth.banner:banner:1.4.10'
  48. api 'com.tbuonomo.andrui:viewpagerdotsindicator:3.0.3'
  49. //高德地图
  50. //3D地图
  51. api 'com.amap.api:3dmap:8.0.1'
  52. //定位
  53. api 'com.amap.api:location:5.5.1'
  54. //weixin
  55. api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
  56. //EventBus
  57. api 'org.greenrobot:eventbus:3.0.0'
  58. //refresh
  59. api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-21'
  60. api 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-21'
  61. //label
  62. api 'com.github.donkingliang:LabelsView:1.4.7'
  63. //XMarquee
  64. api 'com.github.xiaohaibin:XMarqueeView:2.0.2'
  65. //PickerView
  66. api 'com.contrarywind:wheelview:4.0.9'
  67. //Bugly
  68. api 'com.tencent.bugly:crashreport:latest.release'
  69. //其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.1.9
  70. api 'com.tencent.bugly:nativecrashreport:latest.release'
  71. //其中latest.release指代最新Bugly NDK版本号,也可以指定明确的版本号,例如3.0
  72. //DatePicker
  73. api 'com.github.prolificinteractive:material-calendarview:2.0.0'
  74. api 'com.haibin:calendarview:3.6.8'
  75. //Luban
  76. api 'top.zibin:Luban:1.1.8'
  77. //actionbar
  78. api 'com.github.zackratos.ultimatebar:ultimatebar3:3.1.1'
  79. }