yan
07/17/2017, 7:50 PMkapt
means that the dependency is included in the annotation processing classpath, compile
means that it goes to the compile classpath. So if your annotation processing library has the single artifact for the processor and runtime, you need to include it twice.