Closed zeroarst closed 6 years ago
Have you tried using
dependencies {
kapt 'dk.ilios:realmfieldnameshelper:1.1.1'
}
instead?
I did try. Does not work. Is everything working on your end?
I added a section to the README about the order of plugins: https://github.com/cmelchior/realmfieldnameshelper/blob/master/README.md#plugin-order-with-kotlin This is working correctly with Kotlin 1.1.51 and you can see an example project here: https://github.com/cmelchior/realmfieldnameshelper/blob/master/example/build.gradle
Thanks. Working after I added apply plugin: 'kotlin-kapt'
I can see the field field is generated. It is OK to use with java but not Kotlin. In Kotlin it just shows me "Unresolved reference: XXXFields".
I created a new project and declared a class and use it in Kotlin and can produce this issue.
/build.gradle
app/build.gradle