93

Android组件化之代码隔离插件 - 简书

 6 years ago
source link: https://www.jianshu.com/p/7bed9353b381?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
问题 在组件化的时候我发现遇到这些问题 组件可以访问其他组件所有Public的类,代码不内聚 组件依赖传递导致API向下不兼容会崩溃 API方法手动写在MarkDown 模块之间互相依赖会照成循环依赖无法编译 需要人工写接口库、实现库我写了一个Gradle插件ModuleExport解决这些问题 代码内聚 B Module可以访问A Module的任何Public类,这样会导致A、B Mod...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK