提交 534ad741 编写于 作者: J JessYan

Improve demo/build.gradle

上级 bf70bf5f
......@@ -46,22 +46,29 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
//tools
annotationProcessor rootProject.ext.dependencies["dagger2-compiler"]
implementation rootProject.ext.dependencies["progressmanager"]
implementation rootProject.ext.dependencies["retrofit-url-manager"]
implementation rootProject.ext.dependencies["lifecyclemodel"]
//view
implementation project(':arms-autolayout') //不想使用 AndroidAutoLayout 就不要依赖 arms-autolayout
annotationProcessor(rootProject.ext.dependencies["butterknife-compiler"]) {
exclude module: 'support-annotations'
}
implementation rootProject.ext.dependencies["paginate"]
//arms
implementation project(':arms')
implementation project(':arms-imageloader-glide') //想自行扩展 ImageLoaderStrategy 或者想使用其他图片加载框架就不要依赖 arms-imageloader-glide
//Arms 核心库不再包含 AndroidAutoLayout, 可自行选择屏幕适配方案, 不想使用 AndroidAutoLayout 就不要依赖 arms-autolayout
implementation project(':arms-autolayout')
//Arms 核心库不再包含 Glide, 想使用其他图片加载框架或者想自行扩展 ImageLoaderStrategy 就不要依赖 arms-imageloader-glide
//依赖 arms-imageloader-glide 后还需要在 GlobalConfiguration 中手动注册 GlideImageLoaderStrategy
implementation project(':arms-imageloader-glide')
//Github 仓库上最新的 Demo 具有下一个版本的新特性, 所以依赖最新的远程库会出现版本不兼容的情况, 详情请查看 https://github.com/JessYanCoding/MVPArms/wiki/Issues#2
// implementation 'me.jessyan:arms:2.4.1'
//test
testImplementation rootProject.ext.dependencies["junit"]
debugImplementation rootProject.ext.dependencies["canary-debug"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册