android -------- 常用依赖库

//  banner
compile 'com.youth.banner:banner:1.4.9'

// recycle
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.jcodecraeer:xrecyclerview:1.5.8'

// OkHttp
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.squareup.okio:okio:1.5.0'

// image-loader
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' 

// 导航
compile 'com.android.support:design:26+'

// Gson
compile 'com.google.code.gson:gson:2.2.4'

// pulltorefresh
compile 'com.github.userswlwork:pull-to-refresh:1.0.0'

// glide
implementation 'com.github.bumptech.glide:glide:4.4.0' 
compile 'com.github.bumptech.glide:glide:3.6.1'

// fresco
{
implementation 'com.facebook.fresco:fresco:1.8.1'
compile 'com.facebook.fresco:fresco:1.3.0'
// 支持webp
compile 'com.facebook.fresco:webpsupport:1.3.0'
// gif加载使用
compile 'com.facebook.fresco:animated-gif:1.3.0'
// WebP(静态图+动图)加载使用
compile 'com.facebook.fresco:animated-webp:1.3.0'
}

// eventBus
compile 'org.greenrobot:eventbus:3.1.1'

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

{
//添加retrofit依赖
compile 'com.squareup.retrofit2:retrofit:2.3.0'


//添加gson转换器的依赖
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
}


// greenDao
compile 'org.greenrobot:greendao:3.2.2' // add library
//配置数据库的信息
greendao {
    schemaVersion 1
    daoPackage 'com.dash.a04_green_dao.gen'//换成自己的包名
    targetGenDir 'src/main/java'
}

//注意 rxjava2是2.0的 不加2表示的是1.0
compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
compile "io.reactivex.rxjava2:rxjava:2.1.10"
compile 'io.reactivex.rxjava2:rxandroid:2.0.2'

猜你喜欢

转载自my.oschina.net/zhangqie/blog/1787779