Skip to content
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

can't compile when using dagger 2.14.1 #34

Open
aegis123 opened this issue Dec 21, 2017 · 1 comment
Open

can't compile when using dagger 2.14.1 #34

aegis123 opened this issue Dec 21, 2017 · 1 comment

Comments

@aegis123
Copy link

aegis123 commented Dec 21, 2017

Also made an issue for this in the dagger 2 repo #1001 when I update to dagger 2.14.1 I can't compile my project. I can fix it by switching back to the previous dagger version or by changing the order in the dependency block

Gives compilation errors and doesn't generate the code

annotationProcessor 'com.google.dagger:dagger-compiler:2.14.1'
implementation 'com.google.dagger:dagger:2.14.1'
compileOnly 'javax.annotation:jsr250-api:1.0'
annotationProcessor 'dk.ilios:realmfieldnameshelper:1.1.1'

Gives compilation errors but generateds the classes

annotationProcessor 'dk.ilios:realmfieldnameshelper:1.1.1'
annotationProcessor 'com.google.dagger:dagger-compiler:2.14.1'
implementation 'com.google.dagger:dagger:2.14.1'
compileOnly 'javax.annotation:jsr250-api:1.0'
@mgohin
Copy link

mgohin commented Jan 7, 2019

Old issue, trying to help anyone coming around, it works for me with

implementation 'com.google.dagger:dagger:2.16'
annotationProcessor 'com.google.dagger:dagger-compiler:2.16'
compileOnly 'javax.annotation:jsr250-api:1.0'
compileOnly 'dk.ilios:realmfieldnameshelper:1.1.1'
annotationProcessor 'dk.ilios:realmfieldnameshelper:1.1.1'

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