Escolar Documentos
Profissional Documentos
Cultura Documentos
Some history about the apt plug in and why we were using this:
Firstly, it would allow to add at compile time only an annotation processor as a dependency and
not including it in the final APK.
The second usage was the generated code could be picked up by Android Studio.
But all of this changed with the Gradle version 2.2 in which an annotation processor was included.
So there is no reason to provide an extra one.
1) In order to update the libraries we only need to remove the class path for the apt from the
build.gradle (Project)
classpath ‘com.neenbedankt.gradle.plugins:android-apt:1.8'
That’s all.
The same things goes for Butter Knife. Just switch the dependencies to the new ones.
SNIPPETS
compile 'com.google.dagger:dagger:2.9'
annotationProcessor 'com.google.dagger:dagger-compiler:2.9'
compile 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'