English | Русский
A repository with solutions for safe and accelerated initialization of dependencies in Android applications: a runtime library with an initialization framework and a Gradle plugin for its seamless integration.
| Component | Purpose |
|---|---|
library/ |
AsyncInitializer runtime library — thread-safe component initialization, cyclic dependency detection, MainThread support, and deadlock protection. |
plugin/ |
AsyncInitializers Injector Gradle plugin — bytecode patching: automatically inlines initializer calls into public methods of classes at build time. |
The AsyncInitializers library and the AsyncInitializers Injector Plugin are distributed under the Apache 2.0 License and are freely available on GitHub. The AsyncInitializers Injector Plugin distribution includes the ASM library, released under the 3-Clause BSD License.