Repository navigation
v0.2.0
What's Changed
On-demand codegen workflow
Bridge generation is now an explicit, on-demand step rather than running at build time. Generated Kotlin files are committed to source control and compiled as normal sources — no codegen runs during assembleDebug.
./gradlew generateSwiftAndroidBridgesThis follows the same pattern as jOOQ and similar tools: you regenerate when your Swift API changes, review the diff, and commit.
Stored instance pattern
Each bridge now creates its SwiftArena.ofAuto() and Swift instance once at construction time as stored properties, reusing them across all method calls. This avoids per-call allocation overhead while keeping memory safe — the auto arena ties Swift object lifetimes to Java GC reachability.
Documentation
- Updated setup guide to reflect the on-demand workflow
- Documented
SwiftArena.ofAuto()lifecycle semantics - Added explicit
./gradlew generateSwiftAndroidBridgesstep to setup instructions - Updated runtime dependency version reference
Housekeeping
- Added
.build/and rootPackage.resolvedto.gitignore
Full Changelog: v0.1.0...v0.2.0