# kapt


02/22/2017, 1:03 AM
@alexey.tsvetkov Yes, of course, I understand that IC cannot improve time of AP, but can improve Java compilation time. But release notes also contains line
Compile-avoidance is deactivated if annotation processors are found on the compile classpath
and few lines below there is code example how to register AP configuration to exclude dependencies with AP from compile classpath. And my question is: should it work with kapt out of the box, or should I register kapt by the same way how in release notes example? Incremental compilation of Kotlin is significantly improved our build time. And, because we still have a lot of Java code, It’s just important thing for our project, to achieve incremental Java compilation too. actually what Kotlin IC is doing, even when AP is used in project. Because old Gradle Java IC is disabled if you project contains AP.


02/22/2017, 1:09 PM
gildor: I think you should make these changes in case of non-experimental kapt, but you don't have to do it in case of experimental one