auto-data-class icon indicating copy to clipboard operation
auto-data-class copied to clipboard

Unresolved reference: Generated

Open aaistom opened this issue 8 years ago • 1 comments

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.

aaistom avatar Feb 07 '18 05:02 aaistom

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.

xinthink avatar Mar 08 '18 14:03 xinthink