- Upgrade asm libs from 6.2.1 to 9.2(Notes:ASM_API which is passed to asm visitors has not been changed,ASM6 by default.You could changed it by append 'bytex.ASM_API=[ASM4、ASM5、ASM6、ASM7、ASM8、ASM9]' in gradle.properties)
- Replace booster-gradle-api with gradle-compat-api.Both of them are perfect AGP compatible libraries.
booster-gradle-api
is developed and maintained by booster,which was used by ByteX for a long time .gradle-compat-api
is developed and maintained by bytedance,witch has been running well within the company for several months. - Check unexpected bytecode modifications by plugins during the traverse phase in release build.(Notes:Plugins should only perceive the inputs in the traverse phase, and there should be no modifications)
- Fix memory leak caused by gradle
- New whiteList feature in access-inline-plugin.
- Replace hookTransform with HookInjector;
- Add proguard mapping parser&retracer;
- output files with fixed timestamp by default;
- fix bugs of incremental build;
- Improve compatibility(AGP4.1) of GradleToolKit;
- fix 'RuntimeClasspath was resolved from a thread not managed by Gradle' in getter-setter-plugin;
- fix incremental
- fix bug in access-inline with coroutinesIssue
- add quick-refer-check task:processQuickReferCheckWith${variant.capitalize}
- fix get applying variant scope(Compatible with AGP)
- fix APK with empty code on the higher version of AGP due to getScope
- fix blocking compilation while calling getArtifact
Note :This is an experimental bug fix.Need to enable the switch(bytex.forbidUseLenientMutationDuringGetArtifact) in gradle.properties manually
- fix a badcase in access-inline-plugin
- use ASM6
- remove usages of internal interfaces
- configurable output with fixed timestamp
- fix bugs:default transform configuration、NPE
- optimize daemon cache with --no-daemon
- optimize incremental build:Cache graph nodes with daemon
- optimize refer checker:More detailed error information
- add ByteXBuildListener
- improve compatibility
- optimize hook proguard
- add checkIncrementalInDebug
- fix npe cased by refer-checker
- Optimize incremental build and fix bugs
- Fix memory leak in plugins
- Support multi variants build
- Upgrade AGP 3.5.3
- Fix memory leak in HookProguard
- Run refer-check-plugin in single flow in order to check any issues producted by bytex'plugin
- Unified threadpool and run pipleline lifecycles in parallel
- Fix bugs with getter-setter-inline plugins
- Fixed a bug caused by incorrectly processing removed input file.
- Optimize graph cache reading and writing efficiency and size
- More efficient and convenient way for creating a incremental plugin
- shrink styleable(shrink 500KB+ on douyin)
- RFileKnife(fix R.java code to large)
- ButterKnifeCheck(detect exceptions caused by cross-module use of ButterKnife)
- optimize graph cache and html log
- fix bug(fd leak)
- fix memory leak
- optional html log、optional graph cache for incremental build
- Removed some code in GradleToolKit and add
booster-android-gradle-api
as dependencies.
Initial release