build.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. minSdkVersion 18
  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. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_1_8
  19. targetCompatibility JavaVersion.VERSION_1_8
  20. }
  21. }
  22. dependencies {
  23. implementation project(':codec')
  24. api fileTree(include: ['*.jar'], dir: 'libs')
  25. /* RX全家桶 */
  26. api "io.reactivex.rxjava2:rxjava:2.2.2"
  27. api 'io.reactivex.rxjava2:rxandroid:2.1.0'
  28. api 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.2'
  29. /* SQ豪华套餐 */
  30. api 'com.squareup.retrofit2:retrofit:2.4.0'
  31. api 'com.squareup.retrofit2:converter-gson:2.4.0'
  32. api 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
  33. /* 网络支持 */
  34. api 'com.squareup.okhttp3:okhttp:3.11.0'
  35. /* JSON解析 */
  36. api 'com.google.code.gson:gson:2.8.5'
  37. /* 日志打印 */
  38. api 'com.orhanobut:logger:2.2.0'
  39. /* 图片加载框架 */
  40. api 'com.github.bumptech.glide:glide:4.8.0'
  41. annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
  42. }