Recently I replaced neenbedankt
annotation processing library with google Support-Annotation
library, and change all apt
methods in build.gradle
with annotationProcessor
and every thing works good, My question is what is the difference between them and when should we use each of them?
There is no difference. annotationProcessor
is the new feature of gradle plugin.
More info from the creator of android-apt
here
The main conclusion from this article is that annotationProcessor
is doing the same as android-apt
and that is why android-apt
is no longer maintained. You are advised to use annotationProcessor