提交 fc5c63fc 编写于 作者: J JessYan

Improve demo/build.gradle

上级 7c126f6e
......@@ -48,6 +48,14 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
//tools
//注意 Arms 核心库现在并不会依赖某个 EventBus, 要想使用 EventBus, 还请在项目中自行依赖对应的 EventBus
//现在支持两种 EventBus, greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus
//依赖后 Arms 会自动检测您依赖的 EventBus 并自动注册
//建议使用 AndroidEventBus, 特别是组件化项目, 原因请看 https://github.com/hehonghui/AndroidEventBus/issues/49
//这种做法可以让使用者有自行选择三方库的权利, 并且还可以减轻 Arms 的体积
implementation rootProject.ext.dependencies["androideventbus"]
// implementation rootProject.ext.dependencies["eventbus"]
annotationProcessor rootProject.ext.dependencies["dagger2-compiler"]
implementation rootProject.ext.dependencies["progressmanager"]
implementation rootProject.ext.dependencies["retrofit-url-manager"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册