luckybilly/AutoRegister
基于字节码插桩,在Android中实现跨module自动注册的gradle插件,可用于模块解耦。已应用于ARouter和CC observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3266
- days_rel: n/a
- days_push: 1268
- n_releases_24m: 0
Adoption not part of the score
1122 stars · 171 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Gradle plugin for Android that uses bytecode instrumentation (ASM) to automatically register classes implementing a given interface or extending a base class into a manager class at compile time. It eliminates manual registration code in modular/componentized Android projects and is used by ARouter and CC.
Use cases
- automatically register module implementations in android componentized apps
- avoid manually editing factory or manager classes when adding new products or strategies
- decouple android modules without annotation processors or runtime reflection
- generate registration code into a static block at build time
- scan aar and jar dependencies for interface implementations during apk build
When to choose
- you do android modular development and need cross-module auto-registration without reflection
- annotation processors cannot scan classes inside aar dependencies
- you want compile-time registration with no runtime performance cost
When to avoid
- your project is not an Android Gradle build
- you prefer runtime or annotation-based registration approaches
- the project needs active maintenance or support for the latest AGP versions
Facets
plugin · maturity maintenance
build-tool developer-tools plugin-system mobile-development developer-tools jvm gradle-plugin bytecode-instrumentation asm android-componentization auto-registration module-decoupling automation android gradle
2 sources
- readme: https://github.com/luckybilly/AutoRegister · fetched 2026-08-28 · 4d317af2d539
- homepage: https://juejin.im/post/5a2b95b96fb9a045284669a9 · fetched 2026-08-29 · 7e4283754e28
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| luckybilly/AutoRegister | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="luckybilly/AutoRegister")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem