atlas-demo/AtlasDemo/README.md
升级atlasplugin到2.3.3.beta1
支持awb之间的依赖,具体参考 firstbundle的配置
dependencies 里添加 provided依赖
providedCompile project(':publicbundle')
申明bundle之间依赖关系
➜ firstbundle git:(gradle/2.3.3) ✗ more bundleBaseInfoFile.json
{
"name": "第一个bundle",
"dependency": ["com.taobao.publicBundle"]
}
在 app中添加被依赖的bundle
bundleCompile project(':publicbundle')
加入databinding的bundle,具体参见app的配置
添加databinding的bundle依赖
bundleCompile project(':databindbundle')
配置需要开启的databinding列表
atlas {
tBuildConfig {
dataBindingBundles = ['com.taobao.databindbundle']
...
注意同时开启app的databinding
android {
dataBinding {
enabled = true
}