- Config for SNAPSHOT releases
- Throw when building ksp without providing the right nativeSourceSetNames
- Properly handle expect / actual classes wrapping
- Don't wrap protected functions and properties
- Rewritten for KSP (KAPT still available).
- Gradle plugin for easier setup.
- Support for kotlin 1.6.21 - 1.7.10.
- Support for generating complex inheritance hierarchies (see #39 for details)
- Support for Apple Silicon targets introduced in Kotlin 1.5.30.
- The generated classes now only extend annotated interfaces. Methods and vals of non-annotated interfaces are still wrapped, but not inherited from.
- Methods and vals will not add override modifier just because an unrelated interface had a method / val with identical name (fixed matching false positives).
- Make the annotation processor incremental
@ToNativeClass(freeze = true)
makes the wrapper classes and their jobs frozen.- keep
internal
visibility and explicitly throw onprivate
for wrapped classes (#30 by JohNan)
- Inject ScopeProvider as a constructor parameter for more flexibility (#22 by Takahiro Menju)
- Compatibility with Kotlin compiler plugin 1.5.x