常用依赖

json依赖
     implementation 'com.google.code.gson:gson:2.2.4'
-------------------------------------------------------------------
把网络请求数据转成String类型
charStreams
     implementation 'com.google.guava:guava:16.0.1'
-------------------------------------------------------------------
网络图片的依赖  
     implementation ‘com.nostra13.universalimageloader:universal-image-loader:1. 9.3’
-------------------------------------------------------------------
异步请求:
     implementation 'com.loopj.android:android-async-http:1.4.9'
-------------------------------------------------------------------
XListView
     implementation project(':xlistviewlibrary')
-------------------------------------------------------------------
V4依赖
   implementation 'com.android.support:support-v4:27.1.1'
-------------------------------------------------------------------
/*android5.0的新特性使用依赖*/
   implementation 'com.android.support:support-v4:27.1.1'
   implementation 'com.android.support:cardview-v7:27.1.1'
   implementation 'com.android.support:design:27.1.1'
-------------------------------------------------------------------
Banner加载图片
     implementation'com.youth.banner:banner:1.4.9'
     implementation'com.github.bumptech.glide:glide:3.7.0'
-------------------------------------------------------------------
频道管理第三方依赖
maven { url"https://jitpack.io"}  //依赖到项目的allprojects的下面

implementation 'com.github.andyoom:draggrid:v1.0.1'

-------------------------------------------------------------------
allprojects,buildscript :maven {url "https://jitpack.io"}

compile 'com.github.andyoom:draggrid:v1.1.4'

android:name="com.andy.library.AppApplication"


allprojects {
    repositories {
        jcenter()
        maven {url "https://jitpack.io"}
    }
}

buildscript {
    repositories {
        jcenter()
        maven {url "https://jitpack.io"}
    }
------------------------------------------------------------------
ZXing依赖
implementation 'cn.bingoogolapple:bga-qrcode-zxing:1.3.4'
------------------------------------------------------------

umeng第三方登录依赖
    implementation files('libs/umeng-share-core-6.9.4.jar')
    implementation 'com.umeng.sdk:common:latest.integration'
    implementation 'com.umeng.sdk:analytics:latest.integration'
---------------------------------------------------------------
flyBanner轮播图
implementation 'com.recker.flybanner:flybanner:1.3'
--------------------------------------------------------------
okHttpClient依赖
=-=-=-=-log拦截器
    implementation 'com.squareup.okhttp3:okhttp:3.11.0'
    implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
-------------------------------------------------------------------
Glide图片
    implementation 'com.github.bumptech.glide:glide:4.8.0'
--------------------------------------------------------------
RecycledView
    implementation 'com.android.support:recyclerview-v7:28.0.0'
----------------------------------------------------
------------------------------------------------------------

umeng第三方登录依赖
    implementation files('libs/umeng-share-core-6.9.4.jar')
    implementation 'com.umeng.sdk:common:latest.integration'
    implementation 'com.umeng.sdk:analytics:latest.integration'
---------------------------------------------------------------
flyBanner轮播图
implementation 'com.recker.flybanner:flybanner:1.3'
--------------------------------------------------------------
okHttpClient依赖
=-=-=-=-log拦截器
    implementation 'com.squareup.okhttp3:okhttp:3.11.0'
    implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
-------------------------------------------------------------------
Glide图片
    implementation 'com.github.bumptech.glide:glide:4.8.0'
--------------------------------------------------------------
RecycledView
    implementation 'com.android.support:recyclerview-v7:28.0.0'
----------------------------------------------------
XRecyclerView刷新加载
     implementation 'com.jcodecraeer:xrecyclerview:1.5.9'

     configurations.all {
        resolutionStrategy.eachDependency { DependencyResolveDetails details ->
            def requested = details.requested
            if (requested.group == 'com.android.support') {
                if (!requested.name.startsWith("multidex")) {
                    details.useVersion '28.0.0'//根据你的底下appcompat-v7版本
                }
            }
        }
    }










  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值