didi / booster

🚀Optimizer for mobile applications
https://booster.johnsonlee.io
Apache License 2.0
4.87k stars 580 forks source link

fix 4.12.0 transformClassesWithBooster 无法注册成功的bug #367

Closed punkisnotdead3 closed 2 years ago

punkisnotdead3 commented 2 years ago

4.12.0 中 在afterEvaluate 中调用registerTransform 会导致 transformClassesWithBooster这个task 注册不上 ,从而字节码修改任务都失败, 似乎必须要从afterEvaluate 移出来 才可以