所有依赖

   // XRecyclerview
implementation 'com.jcodecraeer:xrecyclerview:1.5.9'
// recyclerview依赖
implementation 'com.android.support:recyclerview-v7:28.0.0'
// 黄油刀
implementation('com.jakewharton:butterknife:8.8.1') {
    exclude group: 'com.android.support'
}
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
// Gson解析
implementation 'com.google.code.gson:gson:2.8.5'
// Glide图片框架
implementation 'com.github.bumptech.glide:glide:4.9.0'
// imageView
implementation 'com.makeramen:roundedimageview:2.3.0'
// 二维码(生成和扫描)
  implementation 'com.google.zxing:core:3.2.1'      //zxing核心依赖
implementation 'com.journeyapps:zxing-android-embedded:3.3.0'  //生成二维码依赖  
// retrofit
// noinspection GradleDependency
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
// Rxjava2
// noinspection GradleDependency
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:+'
// 依赖以下两个库,会自动引用基础库与Android库
implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.1.0'
// EventBus
implementation 'org.greenrobot:eventbus:3.1.1'
// OkHttp网络请求
// noinspection GradleDependency
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
// noinspection GradleDependency
implementation 'com.squareup.okhttp3:logging-interceptor:3.12.0'
// OkHttp的log信息
// noinspection GradleDependency
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
implementation 'com.blankj:utilcode:1.23.4'
implementation 'cn.pedant.sweetalert:library:1.3'
// XBanner 轮播
//implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
// noinspection GradleDependency
//implementation 'com.github.xiaohaibin:XBanner:1.6.1'

    // banner轮播图
implementation 'com.youth.banner:banner:1.4.9'

// Fresco
//noinspection GradleDependency
implementation 'com.facebook.fresco:fresco:0.12.0'
// 支持 GIF 动图,需要添加
// noinspection GradleDependency
implementation 'com.facebook.fresco:animated-gif:0.12.0'
// GreenDao
implementation 'org.greenrobot:greendao:3.2.2'
// add library
// takephoto
/*implementation 'com.jph.takephoto:takephoto_library:4.1.0'*/
implementation 'com.jph.takephoto:takephoto_library:4.0.3'

//沉浸式状态栏 

implementation ‘com.gyf.immersionbar:immersionbar:3.0.0-beta05’

      // 万能RecyclerView的适配器
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.34'

//photoView
 implementation 'com.zftlive.android.library:feature-android-imageloader:1.0.0'
implementation 'com.github.chrisbanes:PhotoView:2.0.0'

greendao {
schemaVersion 1 //数据库版本号

daoPackage 'com.changhao.weidu_project.gen'

// 设置DaoMaster、DaoSession、Dao 包名
targetGenDir ‘src/main/java’//设置DaoMaster、DaoSession、Dao目录
generateTests false //设置为true以自动生成单元测试。
targetGenDirTests ‘src/main/java’ //应存储生成的单元测试的基本目录。默认为 src / androidTest / java。
}

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’ //此处填写你项目使用的sdk版本
}
}
}
}

//Bmob的maven仓库地址,必须填写

    maven {
        url "https://raw.github.com/bmob/bmob-android-sdk/master"
    }

maven { url ‘https://jitpack.io’ }

classpath ‘org.greenrobot:greendao-gradle-plugin:3.2.2’ // add plugin

classpath ‘com.jakewharton:butterknife-gradle-plugin:8.8.1’ //添加这一行

apply plugin: ‘org.greenrobot.greendao’ // apply plugin

你可能感兴趣的:(所有依赖)