Skip to content

Unresolved reference: Generated #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aaistom opened this issue Feb 7, 2018 · 1 comment
Open

Unresolved reference: Generated #1

aaistom opened this issue Feb 7, 2018 · 1 comment

Comments

@aaistom
Copy link

aaistom commented Feb 7, 2018

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.

@xinthink
Copy link
Owner

xinthink commented Mar 8, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants