build.gradle 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 27
  4. defaultConfig {
  5. minSdkVersion 21
  6. targetSdkVersion 27
  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(include: ['*.jar'], dir: 'libs')
  20. implementation 'com.android.support:appcompat-v7:27.1.1'
  21. testImplementation 'junit:junit:4.12'
  22. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  23. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  24. // RxJava + Retrofit
  25. implementation 'io.reactivex:rxjava:1.3.0'
  26. implementation 'io.reactivex:rxandroid:1.2.1'
  27. implementation 'com.squareup.retrofit2:retrofit:2.3.0'
  28. implementation 'com.squareup.retrofit2:adapter-rxjava:2.3.0'
  29. implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
  30. // butterknife , view绑定
  31. api 'com.jakewharton:butterknife:8.8.1'
  32. annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
  33. // RecycleView
  34. implementation 'com.android.support:recyclerview-v7:27.1.1'
  35. // glide依赖
  36. implementation 'com.github.bumptech.glide:glide:3.8.0'
  37. // glide,高斯模糊
  38. implementation 'com.github.bumptech.glide:glide:3.8.0'
  39. implementation 'jp.wasabeef:glide-transformations:2.0.2'
  40. // pick images from system photos
  41. implementation 'com.lwkandroid:ImagePicker:1.4.0'
  42. // log
  43. implementation 'com.orhanobut:logger:2.1.1'
  44. }