Android 项目常用三方依赖。

 build.gradle 中常用的三方依赖记录,配合mvp架构可满足快速搭建项目框架。其中包含了kotlin 的依赖使用,如果纯java项目可以不使用相关依赖。

 //Retrofit
    implementation 'com.squareup.retrofit2:retrofit:2.5.0'
    implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.5.0'

    //RxJava
    implementation 'io.reactivex.rxjava2:rxjava:2.2.8'

    //Rxlife用于管理RxJava的订阅和解除
    implementation 'com.trello.rxlifecycle2:rxlifecycle:2.2.1'
    implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.1'

    //RxAndroid
    implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'

    //ButterKnife
    implementation 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

    //utilcode
    implementation 'com.blankj:utilcode:1.19.0'

    //阿里的Arouter

    /*  implementation 'com.alibaba:arouter-api:1.3.1'
        annotationProcessor 'com.alibaba:arouter-compiler:1.1.4'*/

    //图片glide
    implementation 'jp.wasabeef:glide-transformations:3.0.1'
    implementation('com.github.bumptech.glide:okhttp3-integration:4.9.0') {
        exclude group: 'glide-parent'
    }

    //动画lottie
    implementation 'com.airbnb.android:lottie:2.1.0'

    // GreenGao
    implementation 'org.greenrobot:greendao:3.2.2'
    implementation 'org.greenrobot:greendao-generator:3.2.2'
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'com.alibaba:fastjson:1.2.24'

    //事件的发布和订阅
    implementation 'org.greenrobot:eventbus:3.1.1'

    //圆圈倒计时跳转
    implementation 'com.octopus:round-progressbar:0.0.2'

    //noinspection GradleDynamicVersion,GradleDependency,GradleCompatible
    implementation 'com.android.support:design:28.0.0'

    //    implementation 'com.androidkun:pulltorefreshrecyclerview:1.0.9'
    implementation 'com.jude:rollviewpager:1.4.6'

    //图片裁剪库
    implementation 'com.soundcloud.android:android-crop:1.0.1@aar'
    implementation 'com.makeramen:roundedimageview:2.3.0'
    implementation 'com.belerweb:pinyin4j:2.5.1'

    /*友盟统计需要的最新版本组件化基础库和统计SDK*/
    implementation 'com.umeng.sdk:common:1.5.3'
    implementation 'com.umeng.sdk:analytics:7.5.3'

    //implementation project(':ttsf_pictureselector')

    //    implementation project(':ttsf_adaptation')
    implementation project(':ttsf_common')
    implementation project(':ttsf_zxing')

    //  沉浸式处理
    implementation 'com.gyf.immersionbar:immersionbar:2.3.2-beta02'

    //网络请求日志拦截器
    implementation 'com.squareup.okhttp3:logging-interceptor:3.8.1'

    //屏幕适配方案  https://github.com/JessYanCoding/AndroidAutoSize
    implementation 'me.jessyan:autosize:1.1.2'

    //图标适配库
    implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'

    //下标开源库
    implementation 'com.github.hackware1993:MagicIndicator:1.6.0'

    //日曆開源庫
    implementation 'com.haibin:calendarview:3.6.2'

    //下拉刷新
    implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.5.1'
    implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.5.1'

    //适配器
    implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.42'

    //流式布局
    implementation 'com.hyman:flowlayout-lib:1.1.2'

    //选择器  https://github.com/Bigkoo/Android-PickerView/wiki
    implementation 'com.contrarywind:Android-PickerView:4.1.8'

    //滑动开关 https://github.com/kyleduo/SwitchButton
    implementation 'com.kyleduo.switchbutton:library:2.0.0'

    //相册选择器

    //  implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.3'

    //动态权限申请
    implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
    implementation files('libs/BaiduLBS_Android.jar')

 

你可能感兴趣的:(Android项目框架搭建)