build.gradle 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. minSdkVersion 19
  6. targetSdkVersion 28
  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. implementation fileTree(dir: 'libs', include: ['*.jar'])
  20. api 'com.android.support:appcompat-v7:28.0.0'
  21. api 'com.android.support:design:28.0.0'
  22. api 'com.android.support.constraint:constraint-layout:1.1.3'
  23. api 'com.android.support:support-vector-drawable:28.0.0'
  24. //rx
  25. api 'io.reactivex.rxjava2:rxjava:2.0.7'
  26. api 'io.reactivex.rxjava2:rxandroid:2.0.1'
  27. //retrofit
  28. api 'com.squareup.retrofit2:retrofit:2.2.0'
  29. api 'com.squareup.retrofit2:converter-gson:2.2.0'
  30. api 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'
  31. api 'com.squareup.okhttp3:logging-interceptor:3.6.0'
  32. api 'com.facebook.stetho:stetho-okhttp3:1.3.1'
  33. //rxpermissions
  34. api 'com.github.tbruyelle:rxpermissions:0.10.2'
  35. //rxlife
  36. //https://github.com/trello/RxLifecycle
  37. api 'com.trello.rxlifecycle2:rxlifecycle:2.0.1'
  38. api 'com.trello.rxlifecycle2:rxlifecycle-android:2.0.1'
  39. api 'com.trello.rxlifecycle2:rxlifecycle-components:2.0.1'
  40. //gson
  41. api 'com.google.code.gson:gson:2.8.0'
  42. //glide
  43. api 'com.github.bumptech.glide:glide:3.8.0'
  44. //banner
  45. api 'com.youth.banner:banner:1.4.10'
  46. api 'com.tbuonomo.andrui:viewpagerdotsindicator:3.0.3'
  47. //EventBus
  48. api 'org.greenrobot:eventbus:3.0.0'
  49. //refresh
  50. api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-21'
  51. api 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-21'
  52. }