New
2.2.1
2021-11-18
Build System / Dependencies
- 去掉对ANDROID_HOME环境变量的依赖 (f80ece3a)
- 去掉所有jar-wrapper工程 (089e026f)
- 添加CommonAarSettingsPlugin (c6399458)
- 添加AarToJarPlugin (bf339709)
- 升级Gradle到7.0.2,AGP到7.0.3,kotlin到1.5.31 (87ba9690)
Chores
- 去掉AutoMakeMissingClassPool的测试用例 (9575fcdb)
- 升级maven sample依赖Shadow版本到2.1.1 (9de3cdce)
New Features
- core.gradle-plugin: 自动创建Flavor,并只在plugin上应用Transform (e38755ec)
- 从AndroidManifest中解析Receiver的action信息 (d27e984a)
- 支持NativeActivity (b3c9a9e9)
- core: support PackageManager getServiceInfo and resolveService (cf8a22f9)
- core.transform: ShadowTransform声明为支持build cache (7aa65f71)
Bug Fixes
- core:
- 支持Fragment override getContext方法 (ea59e394)
- 插件Activity在getSystemService时默认委托给宿主Activity (80bc328f)
- 插件的LayoutInflater改为总是从Context取单例 (10ce0228)
- debugWriteJar时忽略META-INF/目录文件 (55283721)