I've replaced the handcrafted list of fields with a Kotlin based annotation processor which creates the appropriate list in a Kotlin file. Review of the annotation processor: https://github.com/peter-tackage/jonty also welcomed/encouraged.
I should add that generating Kotlin via an annotation processor for Android brings out the worst in the build system; hence the many long explanations littered over the build.gradle.
I've replaced the handcrafted list of fields with a Kotlin based annotation processor which creates the appropriate list in a Kotlin file. Review of the annotation processor: https://github.com/peter-tackage/jonty also welcomed/encouraged.
I should add that generating Kotlin via an annotation processor for Android brings out the worst in the build system; hence the many long explanations littered over the
build.gradle
.