build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. apply plugin: 'com.android.library'
  2. apply from: "../gradle_component/baseconfig.gradle"
  3. dependencies {
  4. implementation fileTree(dir: 'libs', include: ['*.jar'])
  5. api("com.android.support:appcompat-v7:${V7_APPCOMPAT_VERSION}")
  6. api("com.android.support:cardview-v7:${V7_APPCOMPAT_VERSION}")
  7. api("com.android.support:support-v4:${V4_SUPPORT_VERSION}")
  8. api("com.android.support.constraint:constraint-layout:${CONSTRAIT_SUPPORT_VERSION}")
  9. api("com.android.support:design:${DESIGIN_SUPPORT_VERSION}")
  10. api("com.github.bumptech.glide:glide:${GLIDE_VERSION}")
  11. annotationProcessor("com.github.bumptech.glide:compiler:${GLIDE_VERSION}")
  12. api("com.android.support:recyclerview-v7:${V7_APPCOMPAT_VERSION}")
  13. api 'in.srain.cube:ultra-ptr:1.0.11'
  14. api("com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}")
  15. api("com.google.code.gson:gson:${GSON_VERSION}")
  16. api 'jp.wasabeef:glide-transformations:3.3.0'
  17. //retrofit
  18. api("com.squareup.retrofit2:retrofit:${RETROFIT_VERSION}")
  19. api("com.squareup.retrofit2:converter-gson:${RETROFIT_VERSION}")
  20. api("com.squareup.retrofit2:adapter-rxjava2:${RETROFIT_VERSION}")
  21. api 'com.shizhefei:CoolRefreshView:1.0.2'
  22. //rxjava
  23. api 'io.reactivex.rxjava2:rxjava:2.2.0'
  24. api 'io.reactivex.rxjava2:rxandroid:2.0.2'
  25. api 'org.litepal.android:core:2.0.0'
  26. // 侧滑recyclaerview
  27. api 'com.yanzhenjie:recyclerview-swipe:1.1.4@aar'
  28. api('com.github.chrisbanes.photoview:library:1.2.4') {
  29. exclude group: 'com.android.support:appcompat-v4'
  30. }
  31. api 'com.google.zxing:core:3.3.0'
  32. //内存泄露检测
  33. // debugApi 'com.squareup.leakcanary:leakcanary-android:1.5.1'
  34. // releaseApi 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
  35. }