auto-data-class
auto-data-class copied to clipboard
Unresolved reference: Generated
I added dependencies to my gradle file:
implementation 'com.fivemiles.auto:auto-data-class-lib:0.5.3'
kapt 'com.fivemiles.auto:auto-data-class-processor:0.5.3'
There was an error in generated files:
DC_Message.kt: (8, 25): Unresolved reference: Generated
It seems that compiler cannot find javax.annotation.Generated and we need to add additional dependency to resolve it.
Sorry for replying so late. You may add the following dependency to your gradle script:
implementaion 'org.glassfish:javax.annotation:10.0-b28'
I'll consider to add it to the dependency tree, or just remove the annotation in the future releases.