代码拉取完成,页面将自动刷新
ext {
def organization = "com.whitehot"
android = [
organization : "${organization}",
applicationId : "${organization}.xk",
compileSdkVersion: 26,
buildToolsVersion: "26.0.2",
minSdkVersion : 19,
targetSdkVersion : 26,
versionCode : 3,
versionName : "0.2.1",
resConfigs : "zh"
]
//合并到主程序运行的组件,没有填写的组件则可以独立运行,组件化用到
merge = [
"acgnews",
"acgschedule",
"acgcomic"
]
def dependVersion = [
support : "27.1.1",
retrofit : "2.3.0",
okhttp : "3.9.0",
glide : "4.2.0",
dagger2 : "2.14.1",
butterknife: "8.8.1",
blockcanary: "1.5.0",
leakcanary : "1.5.4"
]
dependencies = [
//base
"appcompat-v7" : "com.android.support:appcompat-v7:${dependVersion.support}",
"design" : "com.android.support:design:${dependVersion.support}",
"cardview-v7" : "com.android.support:cardview-v7:${dependVersion.support}",
"recyclerview-v7" : "com.android.support:recyclerview-v7:${dependVersion.support}",
"constraintlayout" : "com.android.support.constraint:constraint-layout:1.0.2",
//ui
"base-rcv-helper" : "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.34",
"html-textview" : "org.sufficientlysecure:html-textview:3.3",
"bottom-bar" : "com.roughike:bottom-bar:2.3.1",
"mz-banner" : "com.github.pinguo-zhouwei:MZBannerView:v2.0.0",
"materialsearchview" : "com.miguelcatalan:materialsearchview:1.4.0",
"statusbarutil" : "com.jaeger.statusbarutil:library:1.4.0",
"loadsir" : "com.kingja.loadsir:loadsir:1.3.6",
//other
"multidex" : "com.android.support:multidex:1.0.2",
"logger" : "com.orhanobut:logger:2.1.1",
"fragmentation" : "me.yokeyword:fragmentation:1.1.9",
//bugly
//json
"gson" : "com.google.code.gson:gson:2.8.0",
//network
"retrofit" : "com.squareup.retrofit2:retrofit:${dependVersion.retrofit}",
"retrofit-converter-gson" : "com.squareup.retrofit2:converter-gson:${dependVersion.retrofit}",
"retrofit-adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${dependVersion.retrofit}",
"okhttp" : "com.squareup.okhttp3:okhttp:${dependVersion.okhttp}",
"okhttp-logging-interceptor": "com.squareup.okhttp3:logging-interceptor:${dependVersion.okhttp}",
//image
"glide" : "com.github.bumptech.glide:glide:${dependVersion.glide}",
"glide-compiler" : "com.github.bumptech.glide:compiler:${dependVersion.glide}",
"glide-loader-okhttp3" : "com.github.bumptech.glide:okhttp3-integration:${dependVersion.glide}",
//rx
"rxandroid" : "io.reactivex.rxjava2:rxandroid:2.0.1",
"rxjava" : "io.reactivex.rxjava2:rxjava:2.0.8",
"rxpermissions2" : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar",
"rxdownload" : "zlc.season:rxdownload2:2.0.2",
"rxcache" : "com.github.VictorAlbertos.RxCache:runtime:1.8.0-2.x",
"rxcache-jolyglot" : "com.github.VictorAlbertos.Jolyglot:gson:0.0.3",
//router
"router" : "com.alibaba:arouter-api:1.3.1",
"router-compiler" : "com.alibaba:arouter-compiler:1.1.4",
//di
"butterknife" : "com.jakewharton:butterknife:${dependVersion.butterknife}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${dependVersion.butterknife}",
"dagger2" : "com.google.dagger:dagger:${dependVersion.dagger2}",
"dagger2-compiler" : "com.google.dagger:dagger-compiler:${dependVersion.dagger2}",
"annotation" : "org.glassfish:javax.annotation:10.0-b28",
//test
"junit" : "junit:junit:4.12",
"androidJUnitRunner" : "android.support.test.runner.AndroidJUnitRunner",
"runner" : 'com.android.support.test:runner:0.5',
"mockito-core" : "org.mockito:mockito-core:1.+",
"timber" : "com.jakewharton.timber:timber:4.1.2",
//umeng
"umeng" : "com.umeng.analytics:analytics:6.1.1",
//canary
"blockcanary-android" : "com.github.markzhai:blockcanary-android:${dependVersion.blockcanary}",
"blockcanary-no-op" : "com.github.markzhai:blockcanary-no-op:${dependVersion.blockcanary}",
"leakcanary-android" : "com.squareup.leakcanary:leakcanary-android:${dependVersion.leakcanary}",
"leakcanary-no-op" : "com.squareup.leakcanary:leakcanary-android-no-op:${dependVersion.leakcanary}",
//VasDolly
"vasdolly" : "com.leon.channel:helper:1.1.7"
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。