build.gradle 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 'com.android.support:appcompat-v7:28.0.0'
  22. api 'com.android.support:design:28.0.0'
  23. api 'com.android.support.constraint:constraint-layout:1.1.3'
  24. api 'com.android.support:support-vector-drawable:28.0.0'
  25. //rx
  26. api 'io.reactivex.rxjava2:rxjava:2.0.7'
  27. api 'io.reactivex.rxjava2:rxandroid:2.0.1'
  28. //retrofit
  29. api 'com.squareup.retrofit2:retrofit:2.2.0'
  30. api 'com.squareup.retrofit2:converter-gson:2.2.0'
  31. api 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'
  32. api 'com.squareup.okhttp3:logging-interceptor:3.6.0'
  33. api 'com.facebook.stetho:stetho-okhttp3:1.3.1'
  34. //rxpermissions
  35. api 'com.github.tbruyelle:rxpermissions:0.10.2'
  36. //rxlife
  37. //https://github.com/trello/RxLifecycle
  38. api 'com.trello.rxlifecycle2:rxlifecycle:2.0.1'
  39. api 'com.trello.rxlifecycle2:rxlifecycle-android:2.0.1'
  40. api 'com.trello.rxlifecycle2:rxlifecycle-components:2.0.1'
  41. //gson
  42. api 'com.google.code.gson:gson:2.8.0'
  43. //glide
  44. api 'com.github.bumptech.glide:glide:3.8.0'
  45. //banner
  46. api 'com.youth.banner:banner:1.4.10'
  47. api 'com.tbuonomo.andrui:viewpagerdotsindicator:3.0.3'
  48. //高德地图
  49. //3D地图
  50. api 'com.amap.api:3dmap:latest.integration'
  51. //定位
  52. api 'com.amap.api:location:latest.integration'
  53. //weixin
  54. api 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
  55. //EventBus
  56. api 'org.greenrobot:eventbus:3.0.0'
  57. //refresh
  58. api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-21'
  59. api 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-21'
  60. //label
  61. api 'com.github.donkingliang:LabelsView:1.4.7'
  62. //XMarquee
  63. api 'com.github.xiaohaibin:XMarqueeView:2.0.2'
  64. //PickerView
  65. api 'com.contrarywind:wheelview:4.0.9'
  66. //Bugly
  67. api 'com.tencent.bugly:crashreport:latest.release'
  68. //其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.1.9
  69. api 'com.tencent.bugly:nativecrashreport:latest.release'
  70. //其中latest.release指代最新Bugly NDK版本号,也可以指定明确的版本号,例如3.0
  71. //DatePicker
  72. api 'com.github.prolificinteractive:material-calendarview:2.0.0'
  73. //Luban
  74. api 'top.zibin:Luban:1.1.8'
  75. }