Laraver android 通用且一键式配置框架,1.0基于慕课网大神傅媛媛改写。

build.gradle 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.3.1'
  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. compile 'com.android.support:design:25+'
  26. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  27. compile project(':laraver-annotations')
  28. //字体图标库
  29. compile 'com.joanzapata.iconify:android-iconify-ionicons:2.2.2' // (v2.0.1)
  30. compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.2.2' // (v4.5)
  31. //Fragment依赖
  32. compile 'me.yokeyword:fragmentation:1.0.3'
  33. compile 'me.yokeyword:fragmentation-swipeback:1.0.3'
  34. //黄油刀
  35. compile 'com.jakewharton:butterknife:8.4.0'
  36. annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
  37. //网络请求依赖
  38. compile 'com.squareup.okio:okio:1.13.0'
  39. compile 'com.squareup.okhttp3:okhttp:3.8.1'
  40. compile 'com.squareup.retrofit2:retrofit:2.3.0'
  41. compile 'com.squareup.retrofit2:converter-scalars:2.3.0'
  42. //Loader依赖
  43. compile 'com.wang.avi:library:2.1.3'
  44. //图片剪裁
  45. compile 'com.github.yalantis:ucrop:2.2.1-native'
  46. //二维码扫描
  47. compile 'me.dm7.barcodescanner:zbar:1.9.3'
  48. //Log
  49. compile 'com.orhanobut:logger:2.1.1'
  50. //JSON依赖Android版
  51. compile 'com.alibaba:fastjson:1.1.57.android'
  52. //沉浸式状态栏
  53. compile 'com.github.niorgai:StatusBarCompat:2.1.3'
  54. //数据库依赖
  55. compile 'org.greenrobot:greendao-generator:3.2.2'
  56. compile 'org.greenrobot:greendao:3.2.2'
  57. //微信依赖(包含统计)
  58. compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:1.3.4'
  59. //动态权限处理
  60. compile 'com.github.hotchemi:permissionsdispatcher:2.4.0'
  61. annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.4.0'
  62. //工具包
  63. compile 'com.blankj:utilcode:1.7.1'
  64. //RXJava
  65. compile 'io.reactivex.rxjava2:rxjava:2.1.1'
  66. compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
  67. compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  68. }