realmfieldnameshelper icon indicating copy to clipboard operation
realmfieldnameshelper copied to clipboard

can't compile when using dagger 2.14.1

Open aegis123 opened this issue 7 years ago • 1 comments

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'

aegis123 avatar Dec 21 '17 09:12 aegis123

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'

mgohin avatar Jan 07 '19 13:01 mgohin