对框架的使用,来自大神傅媛媛

build.gradle 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'com.jakewharton.butterknife'
  3. android {
  4. compileSdkVersion 25
  5. defaultConfig {
  6. minSdkVersion 19
  7. targetSdkVersion 25
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. compile fileTree(include: ['*.jar'], dir: 'libs')
  21. compile 'com.android.support:appcompat-v7:25+'
  22. testImplementation 'junit:junit:4.12'
  23. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  24. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  25. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  26. compile project(':laraver-annotations')
  27. //字体图标库
  28. compile 'com.joanzapata.iconify:android-iconify-ionicons:2.2.2' // (v2.0.1)
  29. compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.2.2' // (v4.5)
  30. //Fragment依赖
  31. compile 'me.yokeyword:fragmentation:1.0.3'
  32. compile 'me.yokeyword:fragmentation-swipeback:1.0.3'
  33. //黄油刀
  34. compile 'com.jakewharton:butterknife:8.4.0'
  35. annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
  36. //网络请求依赖
  37. compile 'com.squareup.okio:okio:1.13.0'
  38. compile 'com.squareup.okhttp3:okhttp:3.8.1'
  39. compile 'com.squareup.retrofit2:retrofit:2.3.0'
  40. compile 'com.squareup.retrofit2:converter-scalars:2.3.0'
  41. //Loader依赖
  42. compile 'com.wang.avi:library:2.1.3'
  43. //图片剪裁
  44. compile 'com.github.yalantis:ucrop:2.2.1-native'
  45. //二维码扫描
  46. compile 'me.dm7.barcodescanner:zbar:1.9.3'
  47. }