Yes, with the release of plugin 2.2.0 from android gradle, the android-apt plugin is no longer needed to process annotations. The apt function was included in the latest Android gradle plugin. He called annotationProcessor now what you had in your build script. However, the script had a few misconfigured elements.
First of all, the dagger compiler should not be added to the classpath. So delete this line: classpath 'com.google.dagger:dagger-compiler:2.2' .
And you are using the Android version of gradle alpha3 . Try using the latest version, so change to classpath 'com.android.tools.build:gradle:2.2.2' .
The dependency declaration block looks legal. So try making the above changes to see if this will work.
Aaron he
source share