For example, the Android Hilt plugin uses the Transform APIs to embed Dagger dependency injection into an Android app and Firebase uses it for performance monitoring. The Transform APIs are a collection of APIs provided by the Android Gradle plugin to process intermediate artifacts of the build process, enabling to transform bytecode, synthesize new classes, or analyse the whole program.Ī typical use of this feature is instrumenting compiled classes to add traces, custom logging, performance analysis and so on. Projects that use the Transform API force AGP to use a less optimized flow for the build that can result in large regressions in build times. The Transform API is being removed to improve build performance. All third-party plugins and apps relying on them are required to migrate to the new APIs. Google has announced the upcoming Android Gradle Plugin (AGP), version 8.0, reduces build times by removing the Transform APIs and replacing them through the Artifacts API and Instrumentation API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |