I am trying to switch from Dagger 1.2.2 to Dagger 2.0.1 in the AppEngine project ( NOT Android one).
With Dagger 1.2.2, it’s easy:
compile 'com.squareup.dagger:dagger-compiler:1.2.2'
compile 'com.squareup.dagger:dagger:1.2.2'
did the trick.
With Dagger 2.0.1:
compile 'com.google.dagger:dagger-compiler:2.0.1'
compile 'com.google.dagger:dagger:2.0.1'
does not work (source is generated, but mixed with * .class files in build / classes / main / .. package ../).
source
share